generated access_token is invalid
回答済みHi! i'm struggling with not workable generated access_token. I make POST request(Request access token) with my info(client_id, client_secret and grant_type= client_credentials) and get response with acces_token, but when i pass this token to GET method(List items in folder) with required parameter folder_id i get status 404, at the same time access_token generated in box console dev gives me the list! What am i doing wrong? i want to get access_token by request, not by console
-
正式なコメント
Your developer token is associated with the email address of the user logged into the developer console when the token is generated. However, I suspect you are using JWT authentication and the default token used is associated with the app's service account. Therefore, this user does not own/collaborate to the content you're trying to call hence the 404 not found. To resolve this, you will either need to:
1. collaborate the AutomationUser (service account) onto the content
2. obtain a token for your email address (via sub claim of JWT assertion)
コメントアクション
サインインしてコメントを残してください。
コメント
1件のコメント