Errors
Errors returned by the API will contain the following attributes:
code string
When applicable, a short string indicating the type of the error.
message string
Text describing the error in a human-readable way.
error object<
Error
> An error object containing error's details
Sample error
{
"code": "invalid_attribute_value",
"message": "The talk could not be created",
"error": {
"_original": {
"title": "Onboarding webinar",
"speakers": [
"test-speaker@yopmail.com"
],
"description": "Lorem ipsum dolor sit amet curabitur lectus.",
"start": "2024-05-15T10:30:00.000+00:00",
"timezone": "Europe/Paris",
"duration": 60,
},
"details": [
{
"message": "\"type\" is required",
"path": [
"type"
],
"type": "any.required",
"context": {
"label": "type",
"key": "type"
}
}
]
}
}