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

500 Internal Server Error due to invalid API payload #1510

Open
Pa55er6y opened this issue Oct 29, 2024 · 2 comments
Open

500 Internal Server Error due to invalid API payload #1510

Pa55er6y opened this issue Oct 29, 2024 · 2 comments

Comments

@Pa55er6y
Copy link

With an authenticated user, sending an invalid JSON payload (such as {"model": {"": null}}) to the endpoint POST /content/models/save would lead to 500 internal server error instead of 400 bad request.

Version: 2.9.4
OS: Ubuntu 24.04
Setup: PHP 8.3.6 + SQLite

@aheinze
Copy link
Member

aheinze commented Oct 29, 2024

Please create an issue here: https://github.com/Cockpit-HQ/Cockpit/issues

@Pa55er6y
Copy link
Author

Thanks for the info. I've just posted it there.

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

2 participants