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

Submission deletion endpoint fails with a 500 error #2056

Closed
faith-mutua opened this issue Apr 27, 2021 · 0 comments · Fixed by #2060
Closed

Submission deletion endpoint fails with a 500 error #2056

faith-mutua opened this issue Apr 27, 2021 · 0 comments · Fixed by #2060
Assignees

Comments

@faith-mutua
Copy link

faith-mutua commented Apr 27, 2021

Environmental Information

  • Onadata version: v2.5.4

Problem description

Deleting a specific submission instance using the delete endpoint fails with a 500 Internal Server Error on postman.

Expected behavior

A user should be able to delete submissions from the API using the submission delete endpoint.

Steps to reproduce the behavior

  • Pass the API request https://stage-api.ona.io/api/v1/data/{pk}/{dataid} using the DELETE method on postman or use
    curl -X DELETE https://api.ona.io/api/v1/data/{pk}/{dataid} on the terminal.
  • A 500 Internal Server Error will be thrown after sending the request.

Additional Information

sentry issue related to the error

Logs, related issues, weird / out of place occurrences, local settings, possible approach to solving this...

@faith-mutua faith-mutua changed the title Submission Delete endpoint fails with a 500 error Submission deletion endpoint fails with a 500 error Apr 27, 2021
@DavisRayM DavisRayM self-assigned this Apr 29, 2021
@DavisRayM DavisRayM added this to the Week 16 - 17 (2021) milestone Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants