box api - What does "error_description:access_denied" mean in BoxServerException -
i ma trying refresh access token using refresh token have following exception:
com.box.boxjavalibv2.exceptions.boxserverexception: {"error":"access_denied","error_description":"access denied"}
please tell me wrong request , why getting access_denied
if send invalid refresh token, get
caused by: com.box.boxjavalibv2.exceptions.boxserverexception: {"error":"invalid_grant","error_description":"invalid refresh token"}
i want know reasons access_denied.
------------------- relevant code ------------------
boxoauthrequestobject requestobject = boxoauthrequestobject.refreshoauthrequestobject(refreshtoken, clientid, clientsecret); try { // authenticate new token boxoauthtoken boxoauthtoken = client.getoauthmanager().refreshoauth(requestobject);
i've received error when attempting call api methods accessed "manage enterprise" methods, while application defined "read , write files , folders".
make sure set appropriate checkbox @ application level.
Comments
Post a Comment