Skip to content

Error source pointer is incorrect for a relationship request #280

Description

@lindyhopchris

On a relationship request, got the following error:

{
    "errors": [
        {
            "detail": "The selected parameters.2.id is invalid.",
            "source": {
                "pointer": "/data/relationships/parameters/data/2/id"
            },
            "status": "422",
            "title": "Unprocessable Entity"
        }
    ]
}

But the actual pointer should be /data/2/id as the request contains the relationship object, not the resource 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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions