Skip to main content
New Participant
Feb 19, 2025 4:44 PM UTC
Question

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

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

arthurS20Author
New Participant
Feb 20, 2025 9:02 AM UTC

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?

Translate