Skip to content

Submitting an empty data object for POST /submissions returns php error due to php array vs object with json_decode #44

Description

@marioprudhomme

{
"type": "https://tools.ietf.org/html/rfc2616#section-10",
"title": "An error occurred",
"detail": "data.value: "value" must be an object",
"violations": [
{
"propertyPath": "data.value",
"message": ""value" must be an object"
}
]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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