diff --git a/src/Transporters/HttpTransporter.php b/src/Transporters/HttpTransporter.php index e41863a..3304aa2 100644 --- a/src/Transporters/HttpTransporter.php +++ b/src/Transporters/HttpTransporter.php @@ -105,16 +105,16 @@ protected function throwIfJsonError(ResponseInterface $response, string $content protected function isResendError(string $errorName): bool { $errors = [ - 'missing_api_key', - 'restricted_api_key', - 'validation_error', - 'not_found', + 'application_error', + 'daily_quota_exceeded', 'invalid_attachment', + 'missing_api_key', 'missing_required_field', - 'daily_quota_exceeded', + 'not_found', 'rate_limit_exceeded', + 'restricted_api_key', 'security_error', - 'application_error', + 'validation_error', ]; return in_array($errorName, $errors);