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

OpenAI incorrect API key #4

Open
Juppie902 opened this issue Jan 13, 2025 · 0 comments
Open

OpenAI incorrect API key #4

Juppie902 opened this issue Jan 13, 2025 · 0 comments

Comments

@Juppie902
Copy link

Running generate_announcements.py results in:

D:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\xa-cabin-fwl-2024.10\xa-cabin>generate_announcements.py
C:\Users\Vladi\AppData\Local\Programs\Python\Python313\Lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Removed existing file: D:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\xa-cabin-fwl-2024.10\xa-cabin\announcements\Boarding Complete\en-gb-1.wav
Removed existing file: D:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\xa-cabin-fwl-2024.10\xa-cabin\announcements\Safety Demonstration\en-gb-1.wav
Removed existing file: D:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\xa-cabin-fwl-2024.10\xa-cabin\announcements\Boarding\en-gb-1.wav
Removed existing file: D:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\xa-cabin-fwl-2024.10\xa-cabin\announcements\Cruise\en-gb-1.wav
Removed existing file: D:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\xa-cabin-fwl-2024.10\xa-cabin\announcements\Takeoff\en-gb-1.wav
Removed existing file: D:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\xa-cabin-fwl-2024.10\xa-cabin\announcements\Climb\en-gb-1.wav
Removed existing file: D:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\xa-cabin-fwl-2024.10\xa-cabin\announcements\Final Approach\en-gb-1.wav
Removed existing file: D:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\xa-cabin-fwl-2024.10\xa-cabin\announcements\Post Landing\en-gb-1.wav
Removed existing file: D:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\xa-cabin-fwl-2024.10\xa-cabin\announcements\Prepare for Landing\en-gb-1.wav
Removed existing file: D:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\xa-cabin-fwl-2024.10\xa-cabin\announcements\Emergency\en-gb-1.wav
Error generating TTS for Final Approach: Error code: 401 - {'error': {'message': 'Incorrect API key provided: xxxxxxxx**xxxx. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Error generating TTS for Pre-Boarding: Error code: 401 - {'error': {'message': 'Incorrect API key provided: xxxxxxxx**xxxx. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Error generating TTS for Emergency: Error code: 401 - {'error': {'message': 'Incorrect API key provided: xxxxxxxx**xxxx. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Error generating TTS for Boarding: Error code: 401 - {'error': {'message': 'Incorrect API key provided: xxxxxxxx**xxxx. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Error generating TTS for Climb: Error code: 401 - {'error': {'message': 'Incorrect API key provided: xxxxxxxx**xxxx. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Error generating TTS for Takeoff: Error code: 401 - {'error': {'message': 'Incorrect API key provided: xxxxxxxx**xxxx. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Error generating TTS for Post Landing: Error code: 401 - {'error': {'message': 'Incorrect API key provided: xxxxxxxx**xxxx. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Error generating TTS for Cruise: Error code: 401 - {'error': {'message': 'Incorrect API key provided: xxxxxxxx**xxxx. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Error generating TTS for Safety Demonstration: Error code: 401 - {'error': {'message': 'Incorrect API key provided: xxxxxxxx**xxxx. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Error generating TTS for Boarding Complete: Error code: 401 - {'error': {'message': 'Incorrect API key provided: xxxxxxxx**xxxx. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Error generating TTS for Prepare for Landing: Error code: 401 - {'error': {'message': 'Incorrect API key provided: xxxxxxxx**xxxx. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}

Does each user need to generate his own API key for his uses ?

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