Skip to main content

Request: POST
https://api.box.com/2.0/collaborations


Body:



{


"item": {


"type": "folder",


"id": "XXXXX"

},


"accessible_by": {


"type": "user",


"login": "XXXX@email.com"

},


"role": "editor"

}




I am getting the following response:



{

"type": "error",

"status": 400,

"code": "bad_request",

"context_info": {

"errors": [

{

"reason": "invalid_parameter",

"name": "item",

"message": "Invalid value 'Box_Folder XXXXXXXX'."

}

]

},


"message": "Bad Request",

"request_id": "jsxpyqh6ulgua2b8"

}

Hello, 


Are you just running a curl request? or how are you running your code? 


Alex, Box Developer Advocate


Reply