Hi,
I got following error while downloading items from a share : 'The remote server returned an error: (503) Server Unavailable'. Here are the steps to reproduce the issue:
1. Create share (ShareType : 'Send').
2. Get the download url from the response of 'Downloads Share Items' request (https://account.sf-api.com/sf/v3/Shares(shareid)/Download)
3. Downloads the resource as a Byte array from the 'downloadurl' using WebClient .
using (var client = new WebClient())
{
byte[] data = client.DownloadData(downloadUri);
}
DownloadData method returns the error. Do you have any solution for this?
Thanks,
Niyas
I got following error while downloading items from a share : 'The remote server returned an error: (503) Server Unavailable'. Here are the steps to reproduce the issue:
1. Create share (ShareType : 'Send').
2. Get the download url from the response of 'Downloads Share Items' request (https://account.sf-api.com/sf/v3/Shares(shareid)/Download)
3. Downloads the resource as a Byte array from the 'downloadurl' using WebClient .
using (var client = new WebClient())
{
byte[] data = client.DownloadData(downloadUri);
}
DownloadData method returns the error. Do you have any solution for this?
Thanks,
Niyas