Skip to content

OPENAI_API_KEY #1111

Open
Open
@abdullah91111

Description

2025-02-22 20:55:44 openai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: openai_a**_key. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}

When the document is processed the status shows failed and the above error occurs.

However I have updated the .env file with my open ai api key

If im correct I only need to replace OPENAI_API_KEY = "my_API_KEY" and nowhere else right?

If someone can let me know the why this error occurs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions