Skip to main content
Question

Java Sample can not run

  • May 22, 2025
  • 1 reply
  • 6 views

Forum|alt.badge.img

I download box-java-servlet-skeleton-app from github, setup with readme. After login with auth0 and move to dashboad, there is a errro. It seems like can not get user id.[BoxUser.Info user = BoxUser.createAppUser(adminClient(), auth0Email, params);] return boxId is null.

[WARNING] /dashboard
java.lang.RuntimeException: Couldn't create or retrieve Box App User.
    at com.helpers.BoxHelper.prepareBoxUser (BoxHelper.java:115)

1 reply

Forum|alt.badge.img

Looks like you need to enable the setting for generating user access tokens, reauthorize the app, and try again! Hope this helps.