SyntaxFix
Write A Post
Hire A Developer
Questions
Old question, but Guzzle adds the response within the exception object. So a simple try-catch on GuzzleHttp\Exception\ClientException and then using getResponse on that exception to see what 400-level error and continuing from there.
GuzzleHttp\Exception\ClientException
getResponse