Skip to main content

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

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

Any reason why am I getting this?

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