Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClientHttpErrorListener unable to parse error messages #151

Open
Ovissse opened this issue May 30, 2023 · 0 comments
Open

ClientHttpErrorListener unable to parse error messages #151

Ovissse opened this issue May 30, 2023 · 0 comments
Assignees
Labels

Comments

@Ovissse
Copy link

Ovissse commented May 30, 2023

We noticed a case, that response can contain string in error_messages field instead of an array.

php.WARNING: Warning: foreach() argument must be of type array|object, string given {"exception":"[object] (ErrorException(code: 0): Warning: foreach() argument must be of type array|object, string given at /var/www/.../vendor/currency-cloud/client/src/EventDispatcher/Listener/ClientHttpErrorListener.php:72) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants