Skip to content

Behavior for malformed/invalid requests is not specified #53

Open
@grishka

Description

@grishka

The base specification does not say what a server or a FASP should do upon receiving a request that

  • Contains malformed JSON
  • Contains valid JSON, but lacks a required field or does not make sense in some other way like an invalid combination of some properties or an empty array where a non-empty one is expected

I suggest that the first case should be a 400 Bad Request, the second could either be the same or 422 Unprocessable Entity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions