Sorry, you need to enable JavaScript to visit this website.

You are here

Message status "Invalid access token. Please try with a valid token"

1 post / 0 new

Asha's picture
by Asha

Message status "Invalid access token. Please try with a valid token"

I am trying to send a test message via the API to a valid recipient on the bnum list.

When I check the status of the message I can see the following 

{
		        "status":"401",
				"code":"MSG_ERR_CODE_70002",
				"message":"Invalid access token. Please try with a valid token"
			  }

At this point I have called the endpoint "v2/oauth/token" and retrieved the Bearer/Token and used it in the header for my message, so I don't understand why the token I have just retrieved would be invalid.