WABA
Log a WABA error for diagnostics
POST
/
v1
/
waba
/
errors
Log a WABA error for diagnostics
curl --request POST \
--url https://api.wazapin.com/v1/waba/errors \
--header 'Content-Type: application/json' \
--data '
{
"error_code": "<string>",
"message": "<string>",
"details": "<unknown>",
"meta_code": 123,
"meta_message": "<string>",
"meta_subcode": 123,
"operation": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
error_code: '<string>',
message: '<string>',
details: '<unknown>',
meta_code: 123,
meta_message: '<string>',
meta_subcode: 123,
operation: '<string>'
})
};
fetch('https://api.wazapin.com/v1/waba/errors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/waba/errors"
payload = {
"error_code": "<string>",
"message": "<string>",
"details": "<unknown>",
"meta_code": 123,
"meta_message": "<string>",
"meta_subcode": 123,
"operation": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Body
application/json
Error code identifier
Minimum string length:
1Error message
Minimum string length:
1Additional error details
Meta API error code
Meta API error message
Meta API error subcode
Operation that failed
Response
Created
⌘I
Log a WABA error for diagnostics
curl --request POST \
--url https://api.wazapin.com/v1/waba/errors \
--header 'Content-Type: application/json' \
--data '
{
"error_code": "<string>",
"message": "<string>",
"details": "<unknown>",
"meta_code": 123,
"meta_message": "<string>",
"meta_subcode": 123,
"operation": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
error_code: '<string>',
message: '<string>',
details: '<unknown>',
meta_code: 123,
meta_message: '<string>',
meta_subcode: 123,
operation: '<string>'
})
};
fetch('https://api.wazapin.com/v1/waba/errors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/waba/errors"
payload = {
"error_code": "<string>",
"message": "<string>",
"details": "<unknown>",
"meta_code": 123,
"meta_message": "<string>",
"meta_subcode": 123,
"operation": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}