Closed ncatelli closed 5 years ago
General When posting duplicate objects via the GCS driver, 500 responses are returned for objects that already exist.
To Reproduce Steps to reproduce the behavior:
echo 'hello' | curl -sD - 'http://paste.click/' --data-binary @-
echo 'hello' | curl -sD - 'http://paste.click/' --data-binary @- HTTP/1.1 500 Internal Server Error Server: openresty/1.13.6.2 Date: Thu, 21 Feb 2019 04:00:59 GMT Content-Type: text/plain; charset=utf-8 Content-Length: 68 Connection: keep-alive X-Content-Type-Options: nosniff Unable to save object http://cdn.paste.click/sZRqySSS0jR8YjW00mERhA
Expected behavior Duplicate objects should return a 200 and the same link as if no error has occurred.
This stemmed from a bucket policy issue. this is now resolved
General When posting duplicate objects via the GCS driver, 500 responses are returned for objects that already exist.
To Reproduce Steps to reproduce the behavior:
echo 'hello' | curl -sD - 'http://paste.click/' --data-binary @-
echo 'hello' | curl -sD - 'http://paste.click/' --data-binary @-
Expected behavior Duplicate objects should return a 200 and the same link as if no error has occurred.