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

Nicer error messages for invalid requests #7

Open
timmc-edx opened this issue Jan 29, 2025 · 0 comments
Open

Nicer error messages for invalid requests #7

timmc-edx opened this issue Jan 29, 2025 · 0 comments

Comments

@timmc-edx
Copy link
Contributor

Currently the code-exec API gives HTTP 500 if certain params are missing. We should give these reasonable error responses:

  • Missing payload
  • Payload not valid JSON

(The rest is largely handled by jsonschema.)

@robrap robrap moved this to Backlog in Arch-BOM Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant