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

Return HTTP 400 when attempting to post an event with an unregistered schema #1463

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

afshin
Copy link
Contributor

@afshin afshin commented Oct 18, 2024

Currently if a POST is made to /api/events with a well-formed event that has a schema that hasn't been registered with the event_logger, the REST API returns an HTTP 500 error, but this should probably be a 400 error.

depends on: jupyter/jupyter_events#101

@afshin afshin added the bug label Oct 18, 2024
@afshin afshin marked this pull request as draft October 18, 2024 15:34
@afshin afshin marked this pull request as ready for review October 18, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant