Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Patch request to bucket/{id} returns 500 error #516

Closed
stuartphilp opened this issue Oct 28, 2015 · 2 comments
Closed

Patch request to bucket/{id} returns 500 error #516

stuartphilp opened this issue Oct 28, 2015 · 2 comments
Labels

Comments

@stuartphilp
Copy link

During testing for updating on a existing bucket as per:
http://kinto.readthedocs.org/en/latest/api/buckets.html#updating-an-existing-bucket

I created a bucket called "test_bucket" using the bucket create endpoint, then tried updating that bucket using the patch endpoint. This was done through a python script, but the equivalent curl command is:

curl --request patch https://kinto.stage.mozaws.net/v1/buckets/test_bucket --user testuser:abc123

which returns:

{"info":"https://github.com/mozilla-services/cliquet/issues/","errno":999,"message":"A programmatic error occured, developers have been informed.","code":500,"error":"Internal Server Error"}

cc @tarekziade

@tarekziade tarekziade added the bug label Oct 28, 2015
@stuartphilp
Copy link
Author

just to note this happens with patch collections as well (and likely other endpoints). it's probably due to having a patch request without any data to modify on the object. a patch request that supplies something to update seems to work fine.

@leplatrem
Copy link
Contributor

Thanks @stuartphilp for this feedback !

Indeed I believe this one to be a duplicate of #477

@Natim Natim closed this as completed in ad3ff76 Oct 29, 2015
glasserc pushed a commit that referenced this issue May 20, 2016
Fix the module name of Redis event listener
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants