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

新規投稿

コメント

1件のコメント

  • 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:\\/\\/developers.box.com\\/docs\\/#errors","message":"Not Found","request_id":"removed for privacy57a8c5526b735"}

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

     

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。