I'm getting an error while getting new access token with Box.
{"error":"invalid_request","error_description":"Invalid grant_type parameter or parameter missing"}
Here is the documentation to get new box access token .
curl https://www.box.com/api/oauth2/token -d 'grant_type=refresh_token&refresh_token={valid refresh token}&client_id={your_client_id}&client_secret={your_client_secret}' -X POST
I'm passing grant_type
and refresh_token
as same refresh token . If both are different then what i need to pass values for grant_type and refresh_token .