404 staus code while downloading the file from box using JWT Rest API
回答済みHi,
I was trying to download the file from box but getting 404 status code error. plz help me to resolve this issue.
URL: - "https://api.box.com/2.0/files/871324111894/content/
{
"type": "error",
"status": 404,
"code": "not_found",
"help_url": "http://developers.box.com/docs/#errors",
"message": "Could not find the specified resource",
"request_id": "jc6s64gvm13gm0a8"
}
-
正式なコメント
This error means that the access token you're using does not have access to this file.
To verify the user associated with your access token, you can use the get current user endpoint. By default, JWT apps obtain access tokens for the apps service account.
Your options are:
1. add the user associated with your access token as a collaborator on the content
2. obtain an access access token for a user that already has access
Best,
Kourtney, Box Developer Advocate
コメントアクション
サインインしてコメントを残してください。
コメント
1件のコメント