Skip to content

Conversation

@AmitArie
Copy link

Hello there!
I'm using MacBook M1 with cURL: 7.77.0, and without explicitly adding the json header, the server rejects the request with the following error message:

{"detail":[{"loc":["body"],"msg":"value is not a valid dict","type":"type_error.dict"}]}

Problem solved by adding: Content-Type: application/json

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

Successfully merging this pull request may close these issues.

1 participant