API timeouts

  • 1
  • Problem
  • Updated 2 months ago
Hi, I am getting timeouts when trying send email share post file uploads using API + .Net program, I am trying to upload multiple files (more than 100) in a loop and send email share link for every file upload, File upload API calls works fine, however the api call for sending share file link timeouts after 2-3 calls ,i have tried to introduce delay of 10 seconds for every upload, it dint help, can you please help on this? I am not using Admin account in my .NET program to upload files
Photo of Nilesh

Nilesh

  • 3 Posts
  • 0 Reply Likes

Posted 2 months ago

  • 1
Photo of Andy Berryman

Andy Berryman, Employee

  • 14 Posts
  • 5 Reply Likes
Just to make sure that I fully understand the situation ...
  • You are saying that your API calls to upload the files themselves are working fine?
  • And with a reasonable response time?

However ... After you have successfully uploaded a set of files which you would like to include in a Share ...
  • The first few API calls to create/send the Share work properly?
  • But the next one times out?  If so ... How long is the timeout?
- Andy
Photo of Nilesh

Nilesh

  • 3 Posts
  • 0 Reply Likes
Hi Andy, yes, I am running a loop over a collection, in every iteration of a loop, I upload a file and then send a share link, after 2-3 iterations I start getting timeout on httpweb request which sends file share to user
Photo of Andy Berryman

Andy Berryman, Employee

  • 14 Posts
  • 5 Reply Likes
Can you please upload a text file here with you AccountID/Subdomain information so that I might be able to investigate further?

https://citrix.sharefile.com/r-r97fe0874e1e45f99

- Andy
Photo of Nilesh

Nilesh

  • 3 Posts
  • 0 Reply Likes
Hi Andy,

I am getting below error message when I click on link you have shared.

"The link you are trying to access does not exist"