question

Viresh P avatar image
Viresh P asked Viresh P commented

Getting OAU-149 error

We are getting

"errorCode": "OAU-149",   "message": "Invalid token" 

While calling API. Access Token is absolutely correct we got after calling restapi/oauth/token

but still it gives that error.

getting started
1 |3000

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

1 Answer

Anirban avatar image
Anirban answered Viresh P commented

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.

I already answered this here in the community: https://forums.developers.ringcentral.com/questions/9525/tokeninvalid-oau-149-error.html

1 comment
1 |3000

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

Viresh P avatar image Viresh P commented ·

yes.. got it.. token got corrupted while copying

0 Likes 0 ·

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys