Solved

Unauthorized Client Error when getting token

  • 15 June 2022
  • 2 replies
  • 765 views

Badge

Hi all,

 

When trying to get a token we receive “unauthorized_client” error. I double checked client id and secret are correct, and the “code” generated with the same client id without any issue on prior step. Reading the error code I suspect there may be a place where we give authorization the client application to get tokens? Not sure… Any help is appreciated

 

 

 

icon

Best answer by Marco Villasenor 16 June 2022, 04:26

View original

2 replies

Userlevel 3
Badge +2

Hello @ericyz this error is probably related to the redirect_uri being different.

 

Please check the value you send in the token endpoint is the same you used for the authorization endpoint and that you added that same redirect URI to the client in the connected applications screen.

 

Badge

thanks so much, that resolved the issue and now I am able to get tokens!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved