'Server returned an error: (400) Bad Request' error while downloads Shared file using API

  • 1
  • Problem
  • Updated 3 months ago
Hi,

I have tried to download file from a share using API. I have used the following API URL :
https://***.sf-api.com/sf/v3/Shares(****)/Download?redirect=false

But API throws an error:
{"code":"BadRequest","message":{"lang":"en-US","value":"Invalid parameter: Value cannot be null.\r\nParameter name: uriString"},"reason":"Unspecified"}The remote server returned an error: (400) Bad Request.

We are facing this issue occasionally. 

Please let me know if you need additional information.

Thanks,
Niyas
Photo of Muhammed Niyas

Muhammed Niyas

  • 25 Posts
  • 2 Reply Likes

Posted 3 months ago

  • 1
Photo of Eliezer Encarnacion

Eliezer Encarnacion, Official Rep

  • 693 Posts
  • 98 Reply Likes
Muhammed,

What is your account subdomain? We can investigate these errors from our end

Eli
Photo of Muhammed Niyas

Muhammed Niyas

  • 25 Posts
  • 2 Reply Likes
Eli,

Our subdomain is hmetrix.sharefile.com.

Thanks,
Niyas