cloudcreativity / json-api

Framework agnostic JSON API serialisation and deserialisation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type error after client tries request to invalid URL

lindyhopchris opened this issue · 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).