mu-cl-resources icon indicating copy to clipboard operation
mu-cl-resources copied to clipboard

[Bug] Timeout error when including non-existing relationships

Open Windvis opened this issue 3 years ago • 0 comments

When you include a relationship that doesn't exist the service hangs and times out after a minute with a 504 Gateway time-out error.

Example request: GET /resource-name?include=non-existing-relationship

According to the spec it should return a 400 Bad request response instead:

If a server is unable to identify a relationship path or does not support inclusion of resources from a path, it MUST respond with 400 Bad Request.

Windvis avatar Jun 25 '21 09:06 Windvis