Bad request. This error typically occurs due to a problem with the format of request data, such as a non-parsing or invalid body of data, or an invalid set of query parameters or values.
Create a new test configuration
These examples are typical 400 error responses you would encounter when making a POST request to/sla-api/v1/tests
.
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"slaTestId mismatch between json body and path variable",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
{
"status":400,
"type":"/sla-api/v1/errors/null-test",
"title":"test were empty",
"detail":null,
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
{
"status":400,
"type":"/sla-api/v1/errors/validation-error",
"title":"validation errors encountered",
"detail":null,
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf",
"validationErrors":{
"type":"type is required",
"groupId":"you dont have access to this group id",
"contractId":"conractId is required"
}
}
This is an example of a typical 400 error response you would encounter when making a GET request to /sla-api/v1/tests
.
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"request parameter was invalid",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
This is an example of a typical 400 error response you would encounter when making a DELETE request to/sla-api/v1/tests{?slaTestId}
.
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"test iId is required",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
These are examples of typical 400 error responses you would encounter when making a PUT request to/sla-api/v1/tests{?slaTestId}
.
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"test id is required",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
{
"status":400,
"type":"/sla-api/v1/errors/validation-error",
"title":"validation errors encountered",
"detail":null,
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf",
"validationErrors":{
"type":"type is required",
"groupId":"you dont have access to this group id",
"contractId":"conractId is required"
}
}
This is an example of a typical 400 error response you would encounter when making a GET request to/sla-api/v1/tests{?slaTestId}
.
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"test id is required",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
These are examples of typical 400 error responses you would encounter when making a GET request to/sla-api/v1/tests/{slaTestId}/reports/performance{?start,end}
.
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"Param start/end was not in the expected Format. Expected UTC string in ISO-8601 format",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"start must be before end",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"Test slaTestId 12456 isn't of type performance",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"test id is required",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
These are examples of typical 400 error responses you would encounter when making a GET request to/sla-api/v1/tests/{slaTestId}/reports/availability{?start,end}
.
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"Param start/end was not in the expected Format. Expected UTC string in ISO-8601 format",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"start must be before end",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"Test id 12456 isn't of type availability",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
{
"status":400,
"type":"/sla-api/v1/errors/invalid-arguments",
"title":"invalid arguments",
"detail":"test id is required",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}