Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on empty of attributes PATCH #4

Closed
nohponex opened this issue Jan 22, 2016 · 0 comments
Closed

Error on empty of attributes PATCH #4

nohponex opened this issue Jan 22, 2016 · 0 comments

Comments

@nohponex
Copy link
Member

{

  "data": {
    "type": "user",
    "attributes": {
    }
  }
}

Response:

{
  "errors": [
    {
      "status": 400,
      "detail": "SQLSTATE[42601]: Syntax error: 7 ERROR:  zero-length delimited identifier at or near \"\"\"\"\nLINE 1: UPDATE \"user\" SET \"\" = $1 WHERE \"user\".\"id\" = $2\n                          ^",
      "title": "Error"
    }
  ],
  "jsonapi": {
    "version": "1.0"
  }
}
@nohponex nohponex added the bug label Jan 22, 2016
@nohponex nohponex added this to the Release 1.x milestone Feb 8, 2016
@nohponex nohponex closed this as completed Feb 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant