-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenAI \ Exceptions \ ErrorException - unclear, please help #47
Comments
This has been fixed in the latest version: 0.5.3 |
Me too |
Same here. Please check still exist in version: 0.5.3 |
I've tried various things, but I am not able to reproduce the issue. @nezaboravi @kmilo2622 @Obacm @makerstorage Was anyone of you able to debug an find out, what the API actually returns or do you have a stable way to reproduce the issue? |
Probably I run into the same issue right now: For some error the API returns an error with an empty message, which leads to some confusion. If you are taking a closer look to the error exception details, the reason is visible, but this some kind of unexpected. Maybe would could add some logic, like "if the message is empty copy the error code to the message". |
I could find out the error using the openAI API directly and it was a problem with the API key (in my situation) but that error wasn't available for debug in this PHP package for some reason. |
Problem here lays in env variable naming. Here is what i am talking about: In openAI you have both open organization and open organization id that starts with org-.... |
I am attaching image of screen.
Error is unclear, and i am not sure where to look at all
Pest test works:
The text was updated successfully, but these errors were encountered: