Task #2089
Story #2086: CN issues found when creating tests for Python D1 CNClient
CNCore.listChecksumAlgorithms() - 500
100%
Description
23:28:52 DEBUG operation: GET /cn/v1/checksum
12/02/12 23:28:52 DEBUG headers: {'Charset': 'utf-8', 'Accept': 'text/xml', 'User-Agent': 'pyd1/1.0.0 +http://dataone.org/'}
ServiceFailure: name: ServiceFailure
errorCode: 500
detailCode: 0
description: Node responded with a valid status code but failed to include the expected Content-Type
Status code: 404
Content-Type: text/xml;charset=UTF-8
traceInformation: <?xml version="1.0" encoding="UTF-8"?>
No system metadata could be found for given PID: v.dataone.org/cn/v1/checksum
Related issues
History
#1 Updated by Roger Dahl almost 13 years ago
We now have the type this ticket was waiting for. Current error is:
ServiceFailure: name: ServiceFailure
errorCode: 500
detailCode: 0
description: Node responded with a valid status code but failed to include the expected Content-Type
Status code: 404
Content-Type: text/xml;charset=UTF-8
traceInformation: <?xml version="1.0" encoding="UTF-8"?>
No system metadata could be found for given PID: v.dataone.org/cn/v1/checksum
#2 Updated by Roger Dahl almost 13 years ago
- Subject changed from CNCore.getChecksumAlgorithms() to CNCore.listChecksumAlgorithms() - 500
#3 Updated by Ben Leinfelder almost 13 years ago
- Status changed from New to Closed
- Assignee set to Ben Leinfelder
Metacat was not handling both cases of GET for this endpoint - one with a PID at the end and the other without (for a listing of valid algorithms). It does now