when i try to make connection in jupiter notebook i am reciving incorrect API key error even though it is correct.
i tried ti add my card to use the API however my card declined the question is do you really need to buy the credit to use the API for education purpose.
1 Like
You should probably share your code, to get help. Just the part where the key is sent. You sure it’s in “Authorization” header and is prefixed with "Bearer "?
They may charge you a different rate, but yes initially you will still need to pay even if it’s for educational purposes to use the api.
You are using any open ai package or directly hitting api ?
If using package that you need to instantiate an object with your key
If directly making api request that you have to pass key in header starting with Bearer followed by api key. Make sure key is passed as a string