Question

TokenInvalid OAU-149 error

  • 1 February 2020
  • 1 reply
  • 2127 views

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?


1 reply

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.

Reply