question

Alexander S Polson avatar image
Alexander S Polson asked

Suddenly getting error 504 when uploading files

I ran my app over night to upload a large number of photographs and found that suddenly this morning it started failing when trying to upload approximately 2M files. Nothing has changed with the requests that I'm making but they eventually just timeout with an HTTP Gateway Timeout error (504). The strange thing is the file shows up but my app never receives a response, even after setting a 2 minute timeout. It's my suspicion that there's something up with the content end point but it's not being reported on the status page. Any help would be greatly appreciated. Hostname: content-na.drive.amazonaws.com Metadata: {"name":"P1030075.JPG","kind":"FILE","parents":["VIRA0V7TQHedY0xtB46TNQ"]} Content: (the file)
amazon drive
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Levon@Amazon avatar image
Levon@Amazon answered
So far, we have been unable to repeat this error, assuming that the 2M means Megabyte. Is the issue still reproducible on your system, as it might have been some temporary glitch? Is there any identifiable pattern with which files fail or succeed? If it happens to the same files repeatedly, there could possibly be metadata corruption. Can you please provide a full request/response that generates this error? Thank you, Levon
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.