When trying to access a Box folder in a Salesforce record, the following error appears:
Sorry, there was an issue with processing this request.
Unable to create collaboration: Unable to collaborate user on record - Details: Error making collaboration request to Box - Response: (Not Found)
{
"type": "error",
"status": 404,
"code": "not_found",
"context_info": {
"errors": [
{
"reason": "invalid_parameter",
"name": "item",
"message": "Invalid value 'd_4897007345'. 'item' with value 'd_4897007345 not found"
}
]
},
"help_url": "http://developers.box.com/docs/#errors",
"message": "Not Found",
"request_id": "10431564765630e78da776b"
}
Cause
Two things can cause this error:
- The Box folder associated with this particular Salesforce record has been deleted or doesn't exist.
- The Box user was deleted and recreated
Resolution
In order to resolve this error when the Box user has been deleted and recreated, remove the association between the old Box user and the record folders by following the steps in this article.
To resolve this error when it is caused by the first scenario, follow the below steps:
- Export a FRUP report by following this instruction
- On the FRUP report, find a row (probably multiple rows) with the ID of the record where the above error occurs.
- On "Folder ID" column of those rows, you will find the ID of the folder that is mapped with those records ("4897007345" in this example as per the error message/screenshot. You might see "e" in some occasion.) The error is thrown because Box for Salesforce integration cannot find this folder as the folder with this ID is not existent on Box.
- To fix this, you can do either of the followings:
- Restore the folder ("4897007345" in this case) from the Box Service account's Trash via Box web application.
- If you cannot restore the folder (as the folder is permanently deleted or the "Folder ID" column contains invalid value like "e"), you can delete the FRUP record with this folder ID. After deleting the FRUP record, you can try recreating the folder via Box embed section (which should automatically create a new FRUP record with the new folder ID).
platform_swarm_kb