Skip to main content

How to use unique JTI claim for Box Java SDK?

  • September 26, 2023
  • 3 replies
  • 174 views

  • New Participant
  • 3 replies

I am getting below error when I have concurrent request to have a Box Token.


{“error”:“invalid_grant”,“error_description”:“Please check the ‘jti’ claim. A unique ‘jti’ value is required.”}


Java Box SDK - 2.32.0

3 replies

rbarbosa Box
  • Developer Advocate
  • 553 replies
  • September 28, 2023

Hi @bg200 , welcome to the forum.


Are you using a free account for this test, in other words, is your enterprise id 0?


In the mean time, let me ask for help to the java team.


Cheers


  • Author
  • New Participant
  • 3 replies
  • September 28, 2023

We are using enterprise account.


Thanks.


rbarbosa Box
  • Developer Advocate
  • 553 replies
  • September 28, 2023

@bg200


Folks from the Java SDK team are telling me that you are using a very old version of the SDK from April 2019.


They think this was solved in release 2.44.0, but still this is from 2020, no one remembers anymore…


Would you be able to upgrade to a more recent version of the SDK?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings