Using the docs... and already running into "old code"?

Question…
Is this the latest information about sample codes?
docs/api-reference/authentication

I ask because I am getting authentication error… and this other github post is telling me this is old code??
/openai/openai-node/discussions/217

So, where can I find the latest information from the documents?

The API reference link on the left bar of this forum is current.

You don’t need to send an organization ID like in examples, unless you have a specific use for that. The correct value must be taken from your account settings if you need to select from multiple organizations you belong to.

The actual API error that is reported will let us know the problem, like “invalid api key”.

1 Like