Box API returns HTTP 403 when trying to collaborate APP-USER

New post


1 comment

  • pcapdown

    I also tried using the user-id rather than the email address:


    BoxFolder root = BoxFolder.getRootFolder(enterpriseAccess);
    BoxCollaborator collaborator = new BoxUser(enterpriseAccess, APP_USER_NAME);
    root.collaborate(collaborator, BoxCollaboration.Role.VIEWER_UPLOADER);

    This returned a 404:

    {"type":"error","status":404,"code":"not_found","context_info":{"errors":[{"reason":"invalid_parameter","name":"id","message":"Invalid value 'qed.warehouse'. 'id' with value 'qed.warehouse' not found"}]},"help_url":"http:\\/\\/\\/docs\\/#errors","message":"Not Found","request_id":"removed for privacy57a8c5526b735"}

    It is as if my new App User was not created.


    Comment actions Permalink

Please sign in to leave a comment.