Skip to content
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

APi Key not found #117

Open
Muhammad-Huzaifa7 opened this issue Jul 29, 2024 · 0 comments
Open

APi Key not found #117

Muhammad-Huzaifa7 opened this issue Jul 29, 2024 · 0 comments

Comments

@Muhammad-Huzaifa7
Copy link

I have added the open ai key in the env file and getting it in config as "'apikey' => env('OPENAI_API_KEY')," but when i runs the command to create tread by this package i get the error "local.ERROR: Incorrect API key provided: ''. You can find your API key at https://platform.openai.com/account/api-keys. {"exception":"[object] (OpenAI\Exceptions\ErrorException(code: 0): Incorrect API key provided: ''. You can find your API key at https://platform.openai.com/account/api-keys. at C:\xampp2\htdocs\z360\vendor\openai-php\client\src\Transporters\HttpTransporter.php:131)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant