Couldn't deserialize body to User
See original GitHub issueHello, I’m new with Kotlin and Javalin, and I’m trying to follow this simple CRUD tutorial.
However, I’m having some problems.
In the first get, I’ve faced this error message…
I’ve solved that problem adding the following line to build.gradle.ks dependencies block:
implementation("com.fasterxml.jackson.core:jackson-databind:2.8.9")
However, the problem of the title is happening when I try to create a user in the post endpoint.
Does anyone have any idea what could be happening?
I’ve added the code I’ve used in that repository: https://github.com/bvicenzo/javalin_tutotial_crud
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Couldn't deserialize body to User · Issue #1139 - GitHub
Hello, I'm new with Kotlin and Javalin, and I'm trying to follow this simple CRUD tutorial. However, I'm having some problems.
Read more >'Could not deserialize the response body stream as services ...
If I use FirstOrDefaultAsync API to show data in a Blazor form, but if I use Where then it shows the above error....
Read more >Not sure why I can't deserialize an HTTP JSON object response
By passing List<String>. class to the JSON. deserialize function, you're telling it to look for a list. A list in JSON should start...
Read more >c# - Cannot deserialize the current JSON object, why does this ...
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is...
Read more >"Could not deserialize service response" error when ...
The issue is caused if the environment is not properly configured to host Sitefinity projects. ... The issue is caused by an incorrect...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It has worked, man. Very thanks 😄
hello, I am using groovy instead of kotlin and also face the same error “Couldn’t deserialize body to User”. Does anyone have any idea what is happening?