When I am sending a request with Guzzle, it returns a full error message without parsing the JSON inside. Here is how it looks:
""" Client error:
POST http://someurl.com
resulted in a409 Conflict
response:\n {\r\n "errors": [\r\n "Prospect is already in this campaign"\r\n ]\r\n }\n """
When I am sending the same request via Postman, it does return the response message parsed correctly.
How can I make Guzzle to return only the message - not the full response?