fluree / core

Fluree releases and public bug reports
0 stars 0 forks source link

Malformed JSON error response is formatted HTML [BUG] #100

Open zonotope opened 2 months ago

zonotope commented 2 months ago

Describe the bug Malformed JSON error response is formatted HTML

To Reproduce Steps to reproduce the behavior:

  1. Issue a request to fluree/server that contains malformed json, such as the following:
    {
    "@context": {
    "schema": "http://schema.org/",
    "ex": "http://example.org/"
    },
    "ledger": "test",
    "insert": {
    }

Expected behavior A JSON formatted error response

Screenshots image