This is the response returned by the Mautic API library:
array(2) {
["errors"]=>
array(1) {
[0]=>
array(2) {
["code"]=>
int(404)
["message"]=>
string(460) "The response has unexpected status code (404).
Response: {"errors":[{"message":"Looks like I encountered an error (error #404). If I do it again, please report me to the system administrator!","code":404,"type":null}],"error":{"message":"Looks like I encountered an error (error #404). If I do it again, please report me to the system administrator! (<code>error</code> is deprecated as of 2.6.0 and will be removed in 3.0. Use the <code>errors</code> array instead.)","code":404}}"
}
}
["error"]=>
array(2) {
["code"]=>
int(404)
["message"]=>
string(460) "The response has unexpected status code (404).
Response: {"errors":[{"message":"Looks like I encountered an error (error #404). If I do it again, please report me to the system administrator!","code":404,"type":null}],"error":{"message":"Looks like I encountered an error (error #404). If I do it again, please report me to the system administrator! (<code>error</code> is deprecated as of 2.6.0 and will be removed in 3.0. Use the <code>errors</code> array instead.)","code":404}}"
}
}