新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Difference between Access Token and Developer Token

新規投稿

コメント

4件のコメント

  • Alex Novotny

    Hi, 

    This may be happening based on the application type you created. May I have the client id? 

    Alex, Box Developer Advocate

    0
    コメントアクション パーマリンク
  • John Emery

    Alex,

    Here is my app's client ID: 

    plnrcc2ga76wxgbj6uvsg0ueexs54e9c

    - John

    0
    コメントアクション パーマリンク
  • Alex Novotny

    Looks like this is a client credentials applications... which means tokens generated will be for a service account... not your user... have collaborated the service account into the folder you are accessing? 

     

    1
    コメントアクション パーマリンク
  • John Emery

    Alex,

    Thank you for that link. I was able to add the service account as a collaborator within the folder that I wish to pull data from. I ran my workflow and everything worked as desired.

    Hopefully this helps anybody that might find themselves in the position I found myself in.

    • App Access Level: App + Enterprise Access
    • I used this API and values to get my credentials:
    • https://api.box.com/oauth2/token
    • client_id
    • client_secret
    • grant_type = client_credentials
    • box_subject_id = enterprise_id (found under General Settings for the app)
    • box_subject_type = enterprise

    The above API call gave me an access_token that I was able to use to pull data from my Box account.

     

     

    0
    コメントアクション パーマリンク

投稿コメントは受け付けていません。