We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-- HTTP ERROR --------------- BadBody: Unexpected combination, internal error
This is what happens when you get a non-json response but you expected a json one. The error message is less than maximally helpful.
The text was updated successfully, but these errors were encountered:
Thanks for the issue! Do you have the relevant code snippet that causes this?
Sorry, something went wrong.
module ExpectingJson exposing (run) import BackendTask exposing (BackendTask) import BackendTask.Http as Http import FatalError exposing (FatalError) import Json.Decode import Pages.Script as Script exposing (Script) run : Script run = Script.withoutCliOptions task task : BackendTask FatalError () task = Http.getJson "http://www.viaggiatreno.it/viaggiatrenonew/resteasy/viaggiatreno/autocompletaStazione/LAT" Json.Decode.value |> BackendTask.allowFatal |> BackendTask.map (\_ -> ())
No branches or pull requests
This is what happens when you get a non-json response but you expected a json one. The error message is less than maximally helpful.
The text was updated successfully, but these errors were encountered: