Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Provide Error Header for 404 in Multi Fetch #1975

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments
Open

Provide Error Header for 404 in Multi Fetch #1975

openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments

Comments

@openstreetmap-trac
Copy link

Reporter: guggis
[Submitted to the original trac issue database at 11.36pm, Friday, 19th June 2009]

Provide an error header including the ID of the missing node in a 404 response of a Multi Fetch.

  • if 9999999 was an unknown id on the server the.api and you invoked http://the.api/api/0.6/nodes?nodes=1,2,3,9999999
  • then reply with 404 and include an error header No node with id 9999999 found

Suggested pattern for error header:
No <type> with id <id> found

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

No branches or pull requests

1 participant