When errors occur, the Skeddly API will return a model with the following properties:
Descriptive message explaining (as best as possible) the error.
Map of model errors.
{
"errorCode": "UnauthorizedOperation",
"message": "You are not authorized to execute actions:ListActions"
}
{
"errorCode": "ParameterValidationFailed",
"message": "Parameter validation failed",
"modelState": {
"parameters.InstanceIdentificationMethod": {
"errors": [
{
"errorMessage": "Invalid value for InstanceIdentificationMethod. Valid values are 'by-instance-id' or 'by-instance-name-tag'."
}
]
}
}
}