Skip to main content
Question

Unable to get a folder created by another user with endpoint GET

  • February 19, 2025
  • 1 reply
  • 56 views

Forum|alt.badge.img

Hello ! 
I'm currently developing in java and I can't get a folder created by another user, via API.
I'm also using JWT authentication and have followed this documentation: https://developer.box.com/guides/authentication/jwt/with-sdk/

Here's my Java class calling the Box APIs
    public BoxFolder getFolder(String folderId) throws BoxAPIException
    {
        return new BoxFolder(boxAPIConnexion.getAPI(), folderId);
    }

However, here's the message returned :
com.box.sdk.BoxAPIResponseException: The API returned an error code [404 | iw6ilehyqdmmt4w4.0bb5b98f9358163f0c50785d696f24cca] not_found - Not Found

Do you have any solutions?
thanks

Translated with DeepL.com (free version)

1 reply

Forum|alt.badge.img
  • Author
  • New Participant
  • February 20, 2025

Re, is there a service account that allows you to recover all the folders even if the latter is not put as a collaborator on some of them?