Opened 4 years ago
Closed 3 years ago
#2882 closed enhancement (fixed)
Explain messages provided by OSM API and provide online help
| Reported by: | stoecker | Owned by: | team |
|---|---|---|---|
| Priority: | major | Component: | Core |
| Version: | Keywords: | ||
| Cc: | karl.guggisberg@… |
Description
I got following error message:
org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<Placeholder Way not found for reference -7 in relation 12297.>,Error Body=<Placeholder Way not found for reference -7 in relation 12297.
NOTES:
1) This should bet translated into human readable form.
b) The lines should be broken after ','
c) The ending space should be stripped
d) The is a missing " " before "Error Body"
Attachments (0)
Change History (5)
comment:1 Changed 4 years ago by Gubaer
- Cc karl.guggisberg@… added
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 4 years ago by malenki
- Resolution fixed deleted
- Status changed from closed to reopened
- Summary changed from Handling error message to make it a understandable message was: Handling error message
I'd appreciate very much not only a human readable form but also a human _understandable_ form. I've created a big hiking relation and couldn't upload it because of this error with its nothing-telling message.
Luckily with help I #osm I found out that I had to grep for the mentioned ID in the stored data and remove it. Somehow you could gleu that into the error message so that one know what to do to get rid of this error.
comment:3 Changed 4 years ago by Gubaer
- Summary changed from make it a understandable message was: Handling error message to Explain messages provided by OSM API and provide online help
- Type changed from defect to enhancement
comment:4 Changed 4 years ago by Gubaer
comment:5 Changed 3 years ago by stoecker
- Resolution set to fixed
- Status changed from reopened to closed



Should be improved in r1760.