question

Dilip Kunder avatar image
Dilip Kunder asked ·

TokenInvalid OAU-149 error

I am calling sendsms api and getting TokenInvalid OAU-149 error although I am passing token

{    "errorCode": "TokenInvalid",    "message": "Invalid token",    "errors": [        {            "errorCode": "OAU-149",            "message": "Invalid token"        }    ]}

Any reason why am I getting this?

oauth2oau-149
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary answered ·

TokenInvalid OAU-149 cause due to various reason:

  • You token got corrupted, some space or unwanted character added into it unknowingly, or some character is missed while copying the token
  • The token is only valid for your sandbox environment but used in some other environment like production environment. Though the token is valid but invalid for production, Make sure you are not doing that.
1 comment Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks, there was issue in token, copied wrong.

Created another question..Pls suggest here : https://forums.developers.ringcentral.com/questions/9498/cmn-419-error-featurenotavailable.html

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.