Sample Messages

This section contains sample messages illustrating how to interact with the Search availability API.

SA Response: Errors

The following is a sample error response message: in this case there are mistakes in the request of SA request.

{
    "error": {
        "code": 401,
        "description": "Unauthorized Access: Invalid API Key"
    }
}
{
    "error": {
        "code": 415,
        "description": "Unsupported data for {field}"
    }
}
{
    "error": {
        "code": 500,
        "description": "Interval server error"
    }
}
{
    "error": {
        "code": 404,
        "description": "{field} not found"
    }
}

{field} will be the json key of the request sent to GalapagosGDS API.