About 16,600,000 results
Open links in new tab
  1. python - OpenAI API error: "The api_key client option must be set ...

    Jan 27, 2024 · OpenAI API error: "The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY env variable" Asked 1 year, 10 months ago …

  2. How do I use Claude Code with an existing Anthropic API Key?

    May 19, 2025 · You can use an existing Anthropic API key by setting it as an environment variable. Set the ANTHROPIC_API_KEY env variable with your existing API key and Claude …

  3. security - What is an API key? - Stack Overflow

    An API key is a unique value that is assigned to a user of this service when he's accepted as a user of the service. The service maintains all the issued keys and checks them at each request.

  4. Why use an API key and secret? - Stack Overflow

    I came across many APIs that give the user both an API key and a secret. But my question is: what is the difference between both? In my eyes, one key can be enough. Say I have a key …

  5. Accessing an API using a key in python - Stack Overflow

    Apr 4, 2024 · I do have an account with an API key, so I assume there is an issue going on with passing the given key. According to the Documentation: With shell, you can just pass the …

  6. How to get Google Maps API key without entering billing info to …

    Sep 3, 2022 · Context I would like to get Google Maps API key for free usage (below 5000 per year hits), but when I follow the instructions, it seems that providing billing information is …

  7. Using an API key in Amazon API Gateway - Stack Overflow

    Aug 21, 2016 · 51 If you set 'API Key Required' option to true, please check below. you have to pass 'x-api-key' HTTP Header Parameter to API Gateway. The API Key had to be created. In …

  8. ASP.NET core - simple API key authentication - Stack Overflow

    Dec 8, 2021 · I am attempting to build a super simple API-key authentication for certain APIs in a controller. For this I have this in ConfigureServices(): services.AddAuthorization(options => …

  9. OpenAI from Langchain requires "openai_api_key" even though it …

    Jul 31, 2023 · Did not find openai_api_key, please add an environment variable `OPENAI_API_KEY` which contains it, or pass `openai_api_key` as a named parameter. …

  10. Invalid API Key in OpenWeatherMap (Error 401) - Stack Overflow

    Jun 17, 2022 · I'm trying to make an API call to OpenWeatherMap. When I execute flutter run in the terminal, the response.statusCode prints 401 which is code for Invalid API Key, although I …