You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The serializer expects you to either return the model or an Errors object. Take a look at this documentation https://json-api-dotnet.github.io/#/custom-errors.
If that solves your issue, I’d like to leave this open as a task to make this error message more useful.
On Tue, Apr 24, 2018 at 6:56 AM, Jared Nance ***@***.***> wrote:
The serializer expects you to either return the model or am Errors object.
Take a look at this documentation https://json-api-dotnet.
github.io/#/custom-errors.
If that solves your issue, I’d like to leave this open as a task to make
this error message more useful.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#270 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJFVgyUIa7rbO0XZjA7bQt9Ed3aP-r5Zks5trlw3gaJpZM4TgFA4>
.
jaredcnance
changed the title
error when returning a BadRequest("custom string") on an overridden method PostAsync
Improve Error Message For Invalid Objects Passed To Serializer
May 6, 2018
The text was updated successfully, but these errors were encountered: