Invalid JSON is request input that does not match JSON syntax, such as data missing a double quote or curly brace. In tutor and course create or update APIs, malformed input should become a clear client error rather than silently preventing command execution. section 6.3.5
Malformed API payload
Send a create or update request with malformed JSON—for example, remove a double quote or curly brace. Configure the Actix JSON error handler to produce “Please provide valid Json input” instead of leaving the client without an error message. section 6.3.5
