legacy-api-documentation icon indicating copy to clipboard operation
legacy-api-documentation copied to clipboard

Internal server error when using the photos endpoint

Open HayoBaan opened this issue 7 years ago • 3 comments

Somehow posting photos stopped working; the https://api.500px.com/v1/photos? endpoint always gives an internal server error. I confirmed this happens too when using the API console so there really seems to be an issue at the server...

HayoBaan avatar Dec 13 '17 05:12 HayoBaan

This appears to have been related to our recent introduction of uploads directly to S3 (docs to come soon). This expected to receive a user agent header and failed if one was not received. A fix has been deployed in the past hour to resolve this.

Please let me know if you're still experiencing a problem with uploads.

Melraidin avatar Dec 13 '17 17:12 Melraidin

The docs have been updated to provide details on the new upload process: https://github.com/500px/api-documentation/blob/master/basics/upload.md

This will provide better upload performance than the previous process.

Melraidin avatar Dec 13 '17 17:12 Melraidin

Hi Kevin, I can confirm it works again. Side note: I tried to delete the test photo I uploaded (on the 500px website itself) and that fails... "error, try again later…". Something is still not right...

HayoBaan avatar Dec 13 '17 18:12 HayoBaan