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

Error with Grant credentials

回答済み
新規投稿

コメント

4件のコメント

  • 正式なコメント
    Kourtney

    Hey Andrew - Things look ok on the backend for this client ID. It looks like in your screenshot you're passing an email address as the value of box_subject_id. Instead you need to pass the user ID of your AutomationUser. 

    Kourtney, Box Developer Advocate

    コメントアクション パーマリンク
  • Andrew Nunez

    1 comment I will make is this app is authorized. 

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

    Thanks Kourtney for the help, 

    I've changed the box_subject_id to what I believe is the id of the automation user: 1564667 

    looking at the API to list enterprise users that automation user is not present in that list... So I then also tried using the admin user id as the box_subject_id and it still is giving me same error

    {"error":"invalid_grant","error_description":"Grant credentials are invalid"} Thanks!

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

    Nevermind, I was able to find the enterprise ID I need to use under the 'App Info' 

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

サインインしてコメントを残してください。