Not able to download using OAuth 2.0
I'm getting below error message while downloading document.
Exception while connecting:404 Not Found: \"{\"type\":\"error\",\"status\":404,\"code\":\"not_found\",\"help_url\":\"http:\/\/developers.box.com\/docs\/#errors\",\"message\":\"Not Found\",\"request_id\":\"hynd7che8lt7ufuf\"}\"
I generated access token by the help of AuthorizationCode, clientID and ClientSecret
Below URL giving me Authorization code :
https://account.box.com/api/oauth2/authorize?response_type=code&redirect_uri=https://app.box.com/developers/console&client_id=8fz53qr03xp6qmm0cr74hjkkbom9t48z&scope=root_readwrite
Then I'm using generated authorization code for creation of access token with clientID and clientSecret using below URL
https://api.box.com/oauth2/token
after getting access token when I'm making a download call I'm getting 404 not found error.
I generated access token by the help of AuthorizationCode, clientID and ClientSecret
Below URL giving me Authorization code :
https://account.box.com/api/oauth2/authorize?response_type=code&redirect_uri=https://app.box.com/developers/console&client_id=8fz53qr03xp6qmm0cr74hjkkbom9t48z&scope=root_readwrite
Then I'm using generated authorization code for creation of access token with clientID and clientSecret using below URL
https://api.box.com/oauth2/token
after getting access token when I'm making a download call I'm getting 404 not found error.
Please sign in to leave a comment.
Comments
1 comment