question

kabnetic avatar image
kabnetic asked wm1 sent

Unauthorized when fetching refresh token

When my web app is fetching the refresh token I am getting this error:
Error refreshing access token { status: 'Unauthorized', message: 'Invalid refresh token.' }

I am making a simple POST request to the sandbox and passing in the fields stated in the docs for client_id and refresh_token mentioned here Refresh access tokens.

Weird thing is, when I tested it with Postman it seemed to have worked, then when my app made the same request it gave me this error. Now when I try to run it again in Postman it gives me the same unauthorized error.

OAuthAPI Tokenaccess token
1 comment
10 |2000

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

shopventory avatar image shopventory commented ·

This is absolutely happening, your refresh token endpoint is intermittently failing with this error. This is unacceptable.

0 Likes 0 ·

0 Answers

Welcome to the
Clover Developer Community