Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Create Shares #18

Open
edesent opened this issue Jul 16, 2019 · 0 comments
Open

Problem with Create Shares #18

edesent opened this issue Jul 16, 2019 · 0 comments

Comments

@edesent
Copy link

edesent commented Jul 16, 2019

Server error: POST https://####.sf-api.com/sf/v3/Shares?notify=false resulted in a 500 Internal Server Error response: {"code":"InternalServerError","message":{"lang":"en-US","value":"System error"},"reason":"Unspecified"}

I am getting this error when trying to createShare. The only reason why I feel like it is an issue is because I have the same command working on ARC with the same variables.

  $options = array (
            'ShareType'       => 'Send',
            'Title'           => 'New Share for File',
            'Recipients'      => array('User' => array('Email' => 'email.net')),
            'Items' 		  => array('Id' => $fileid),
            'RequireLogin'    => 'false',
            'RequireUserInfo' => 'false',
            'MaxDownloads'    => -1,
            'UsesStreamIDs'   => 'false'
        );
 $downloadurl = $client->createShare($options);

Any thoughts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant