-
Notifications
You must be signed in to change notification settings - Fork 300
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
Missing "description" request body parameter in API causes 500 #78
Comments
Looked into it, there's two issues here:
For now the minimal payload for creating bookmarks would be:
|
Marked the respective fields as optional in the serializer. The minimal payload is now:
Note that empy text fields (title, description) are represented by an empty string |
Version: 1.3.1
Architecture: Docker
When I attempt to omit the
description
request body parameter in thePOST /api/bookmarks/
API call, I get a 500 response. The API should either instruct me to include this field or gracefully handle its absence.The text was updated successfully, but these errors were encountered: