Skip to main content
Question

Refresh Access Token always returns grant_type error

  • May 23, 2025
  • 1 reply
  • 5 views

Forum|alt.badge.img

I am trying to refresh access token in box api using  https://api.box.com/oauth2/token

and have added parameters - grant_type, clientId, clientSecret and refreshToken. also added Content-Typeapplication/x-www-form-urlencoded in the header. Still it everytimes shows grant_type mismatch error, even if I intentionally add wrong client id or secret, still same error is returned with response code - 400. Similar issue is generated on postman and official box api "try api" too.

Please help me how can I refresh the token

1 reply

Forum|alt.badge.img

Hi Dinesh, can you elaborate?

What type of application did you create on the box developer console?

What is your client id? What do you put on the grant_type?