Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DELETE /v1/accounts raises a 500 #2009

Closed
Natim opened this issue Jan 28, 2019 · 0 comments
Closed

DELETE /v1/accounts raises a 500 #2009

Natim opened this issue Jan 28, 2019 · 0 comments
Labels

Comments

@Natim
Copy link
Member

Natim commented Jan 28, 2019

$ http DELETE https://natim.alwaysdata.net/v1/accounts --auth admin:admin
HTTP/1.1 500 Internal Server Error
Access-Control-Expose-Headers: Retry-After, Alert, Backoff, Content-Length
Content-Length: 177
Content-Type: application/json
Date: Mon, 28 Jan 2019 20:45:56 GMT
Via: 1.1 alproxy
X-Content-Type-Options: nosniff
  File "/home/natim/kinto/kinto/kinto/plugins/accounts/views.py", line 221, in on_account_changed
    username = request.matchdict["id"]
KeyError: 'id'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants