RefreshToken missing grant_type?

MatthewSokolMatthewSokol Posts: 1Member

Hello,

I am running into an issue with the API saying my refresh calls are missing the grant type. This had been working fine up until about 4/25. This has been working for quite some time up until then. I have reviewed https://developers.lightspeedhq.com/retail/authentication/refresh-token/ and looked in these forums for updates regarding grant_type. Does anyone have any advice/thoughts?


Error:

feign.RetryableException: status 400 reading LightspeedFeign#refreshToken(String,String,String); content:

{"error":"invalid_request","error_description":"The grant type was not specified in the request"}


Request (masked):

Authorization: Bearer XXXXXXXXXXXXXXXXXX

---> POST https://cloud.merchantos.com/oauth/access_token.php/oauth/v1/token?grant_type=refresh_token&client_id=XXXXXXXXXXXXXXXXXX&client_secret=XXXXXXXXXXXXXXXXXX&refresh_token=XXXXXXXXXXXXXXXXXX HTTP/1.1


Thank you

Sign In or Register to comment.