I am using refresh token to automate updating of access and refresh tokens. It works pretty well. However, sometimes the access token renewal fails and i receive the title error.
{"error":"invalid_request","error_description":"Invalid grant_type parameter or parameter missing"}
As far as I can tell, whenever there is a failure there is a 302 redirect and the destination is "https://app.box.com//api/oauth2/token".
As you know, if the refresh token update fails, you will not be able to get an access token without OAuth authentication again.
How do I solve this problem?
Thank you in advance.