json-api icon indicating copy to clipboard operation
json-api copied to clipboard

Type error after client tries request to invalid URL

Open lindyhopchris opened this issue 7 years ago • 0 comments

Getting this:

TypeError: Argument 1 passed to Neomerx\JsonApi\Exceptions\JsonApiException::addError() must implement interface Neomerx\JsonApi\Contracts\Document\ErrorInterface, null given, called in /home/cgammie/Development/cgammie/radio-poc/vendor/neomerx/json-api/src/Exceptions/JsonApiException.php on line 77

After using the guzzle client to submit a request when the URL is invalid (the base_uri option incorrectly set).

lindyhopchris avatar Feb 12 '18 17:02 lindyhopchris