Skip to content

Latest commit

 

History

History
36 lines (16 loc) · 785 Bytes

Freshdesk-Exceptions-UnsupportedAcceptHeaderException.md

File metadata and controls

36 lines (16 loc) · 785 Bytes

Freshdesk\Exceptions\UnsupportedAcceptHeaderException

Unsupported Accept Header Exception

Thrown when the Freshdesk API returns a 406 code. Only application/json and '/' are supported. When uploading files multipart/form-data is supported

Methods

getRequestException

\GuzzleHttp\Exception\RequestException Freshdesk\Exceptions\ApiException::getRequestException()

Returns the Request Exception

A Guzzle Request Exception is returned