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

400 invalid_grant error once, works fine after that

新規投稿

コメント

3件のコメント

  • pengthom

    Did you ever figure out what was going on here?  how did you make it work correctly? I am having a similar problem.  

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

    A comment in https://github.com/cburnette/boxr/issues/30 points out that the exp claim is set to expire in 10 seconds. So if, on first run through the code, it takes more than 10 seconds to initialize everything and make the API call, it will fail.

     

    Perhaps the second call is faster because some things are already initialized at that point.

     

    Perhaps suggest to the maintainer that the timeout be increased above 10 seconds, or that it be made configurable.

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

    thank you. I think I might have another problem.  But this was helpful!

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

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