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
When servant-server returns an error with a body (e.g. on failure to parse, or missing required arguments), it's not json-encoded (it's plain-text) "by default" (e.g. when using ReqBody).
However the Vanilla generated functions always attempt to parse the error response body as json, which fails (because of missing double quotes).
The text was updated successfully, but these errors were encountered:
googleson78
added a commit
to googleson78/web-project
that referenced
this issue
Aug 23, 2020
When
servant-server
returns an error with a body (e.g. on failure to parse, or missing required arguments), it's not json-encoded (it's plain-text) "by default" (e.g. when usingReqBody
).However the
Vanilla
generated functions always attempt to parse the error response body as json, which fails (because of missing double quotes).The text was updated successfully, but these errors were encountered: