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

[BUG] try to update an unknown attribute but the id exists, with PATCH request #1278

Closed
iariasleon opened this issue Sep 23, 2015 · 2 comments
Assignees
Milestone

Comments

@iariasleon
Copy link
Contributor

Entity is created

POST http://<host>:<port>/v2/entities
Fiware-Service: happy_path
Fiware-ServicePath: /test
{"id": "room2", "type": "house", "timestamp": true}

Try to update an unknown attribute with PATCH request

PATCH http://<host>:<port>/v2/entities/room2
Fiware-Service: happy_path
Fiware-ServicePath: /test
{"dfsddf": "rere"}
Response
Status:472 Unknown
Content-Length: 0

without error and description fields in body response

@fgalan
Copy link
Member

fgalan commented Oct 1, 2015

Fixed in PR #1309. @iariasleon pls have a look and close the issue if you find it solved.

@fgalan fgalan assigned iariasleon and unassigned rbl219 Oct 1, 2015
@iariasleon
Copy link
Contributor Author

LGTM

http code: 404
 {
     "error":"NotFound",
     "description":"No context element found"
}

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

No branches or pull requests

3 participants