ERROR: Api key should only contain letters, numbers, and can only contain 51 characters

I am trying to connect my open ai to flows.netwrok(for creating a GitHub PR summarizer bot) through the api key, but when i enter the key it shows:
(Api key should only contain letters, numbers, and can only contain 51 characters.)

and the open ai api always starts with [ sk-proj-… ]

what to do??

Obviously you are using some software that is stupid because it decided to be smart. It didn’t anticipate the additional prefix added to a project key.

You can update any software you are in control of to the latest version.

You can contact the developer to fix their validation problem.

You can generate what is now called a “user API key”, one that applies to your whole organization, without the -proj prefix.

Ohhh, I didn’t knew about this, Proj key and User Key, tahnks for the help I was stuck at this problem for 4 hours !!.

I will be creating a issue for this to the project repo.

Thanks !!