We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8d5bd2 commit a17d808Copy full SHA for a17d808
src/Transporters/HttpTransporter.php
@@ -69,7 +69,7 @@ protected function throwIfJsonError(ResponseInterface $response, string $content
69
try {
70
$response = json_decode($contents, true, 512, JSON_THROW_ON_ERROR);
71
72
- $errors = ['missing_required_fields', 'missing_required_field', 'missing_api_key', 'invalid_api_key', 'invalid_from_address', 'validation_error', 'not_found', 'method_not_allowed', 'invalid_scope', 'internal_server_error'];
+ $errors = ['missing_required_fields', 'missing_required_field', 'missing_api_key', 'invalid_api_key', 'invalid_from_address', 'validation_error', 'not_found', 'method_not_allowed', 'invalid_scope', 'restricted_api_key', 'internal_server_error'];
73
if (
74
isset($response['error']) ||
75
in_array($response['name'], $errors)
0 commit comments