Getting 500 Internal Server Error when trying to create a share for a file or folder

  • 1
  • Problem
  • Updated 3 months ago
Details of my post request:

URI:
https://mydomain.sf-api.com/sf/v3/Shares?notify=false&direct=false

HEADER:
Authorization: Bearer  myToken Host: mydomain.sf-api.com
Content-Length: 360

BODY:
{
  "ShareType":"Send",
  "Title":"Sample Send Share",
  "Folder": [ { "Id":"foh6e90e-78be-4837-ab57-9a24676f332e" } ],
  "Recipients":[ { "User": { "Email": "smankarious@sunrisedataservices.com" } } ],
  "ExpirationDate": "2018-03-03",
  "RequireLogin": false,
  "RequireUserInfo": false,
  "MaxDownloads": -1,
  "UsesStreamIDs": false
}

N.B: domain, token and email are correct.

Thanks,
Sherif
Photo of Sherif Mankarious

Sherif Mankarious

  • 4 Posts
  • 0 Reply Likes

Posted 3 months ago

  • 1

Be the first to post a reply!