3.5 Error handling

If an error occured during the processing of the cross-match job, the service will return one of the following HTTP codes:

In addition, a VOTable document is returned, including the following snippet: <INFO name="QUERY_STATUS" value="ERROR">...</INFO>. The text value of this INFO element provides with an explicit explanation of the origin of the problem.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<VOTABLE ... >
    ...
    <RESOURCE type="results">
        <INFO name="QUERY_STATUS" value="ERROR">
            Message: Missing parameter RESPONSEFORMAT.
            ...
        </INFO>
    </RESOURCE>
</VOTABLE>

© UDS/CNRS

Contact