Closed KevinFairbanks closed 1 year ago
same error while usingimages()->create
According to the OpenAI documentation this should always be a string: https://github.com/openai/openai-openapi/blob/ec0b3953bfa08a92782bdccf34c1931b13402f56/openapi.yaml#L1591
Can you provide a sample request which leads to a numeric error code?
Closed due to inactivity. Please reopen if this is still an issue for you.
Upgraded to v0.6.2 and seeing this error frequently (3x in every 10-12 calls)
TypeError: OpenAI\Exceptions\ErrorException::getErrorCode(): Return value must be of type ?string, int returned in /home/app/my.app/vendor/openai-php/client/src/Exceptions/ErrorException.php:48