You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making a request to a none existing endpoint that includes resource embedding, it returns an error 400.
GET /none_existing_endpoint?select=title,directors(id,last_name) HTTP/1.1Response: 400 Bad Request
{
"code": "PGRST200",
"details": "Searched for a foreign key relationship between 'none_existing_endpoint' and 'directors' in the schema 'exposed', but no matches were found.",
"hint": null,
"message": "Could not find a relationship between 'none_existing_endpoint' and 'directors' in the schema cache"
}
I would expect an 404 that tells me that the endpoint itself does not exist like so:
GET /none_existing_endpoint?select=title,directors(id,last_name) HTTP/1.1Response: 404 Bad Request
{
"code": "42P01",
"details": null,
"hint": null,
"message": "relation \"exposed.none_existing_endpoint\" does not exist"
}
The text was updated successfully, but these errors were encountered:
DutchGerman
changed the title
Return 404 on none existing endpoint with embedding
Return 404 on none existing endpoint with resource embedding
Jun 17, 2024
Environment
Description of issue
When making a request to a none existing endpoint that includes resource embedding, it returns an error 400.
I would expect an 404 that tells me that the endpoint itself does not exist like so:
The text was updated successfully, but these errors were encountered: