Skip to main content
New Participant
Sep 26, 2023 5:51 PM UTC

How to use unique JTI claim for Box Java SDK?

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
Sep 28, 2023 2:12 PM UTC

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

Translate
bg200Author
New Participant
Sep 28, 2023 2:30 PM UTC

We are using enterprise account.

Thanks.

Translate
rbarbosa Box
Developer Advocate
Sep 28, 2023 3:03 PM UTC

@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?

Translate