1,306 questions
2
votes
1
answer
110
views
Twilio invalid API Key and secret pair
I'm building a web based VoIP dialing software using Twilio. However, Twilio just keeps raising an error of having invalid API key-secret pair. I've tried the following fixes:
Different regions (us1, ...
1
vote
1
answer
594
views
Codex with API key on Macbook not working
I had codex originally authenticate via openAI web. Since i hit my limit i would now want to upgrade to the "pay per use" via api key. After following all the steps on https://github.com/...
0
votes
2
answers
92
views
How to return a custom error response when using APIKeyCookie in FastAPI?
I have a POST route /publish with a dependency get_current_user.
get_current_user has as fastapi.security.APIKeyCookie as dependency.
If authenticated correctly everything is fine but if I do a curl ...
-1
votes
2
answers
117
views
Anybody tried time doctor 2 APIs? or go through it's official docs?
I've try to register/login into time doctor 2 using register/login api and it success, after login i successfully get the auth token.
But futher when i try to access any GET route it with provided ...
0
votes
1
answer
333
views
Python LangChain with Google google_vertexai or google_genai using API KEY?
How to use google_vertexai or google_genai with LangChain in Python? I get the following error:
USER_AGENT environment variable not set, consider setting it to identify your requests.
Traceback (most ...
0
votes
1
answer
128
views
Using Capsolver TwoCaptcher does not work (Java)
I try to solve a captcher from the following standard homepage:
https://google.com/recaptcha/api2/demo
For that I am using the following code:
String apiKey = "CAP-XXX";
...
1
vote
0
answers
56
views
Getting Mailgun 401 error - Not able to read API KEY from env variables
I'm developing a NextJS application with typescript, trying to set up mailgun.
I have this mailgun.ts setup file:
import config from "@/config";
import Mailgun, { MessagesSendResult } from &...
0
votes
0
answers
59
views
(Expo) Stripe iOS Build Error: "You did not provide an API key" despite Providing Key
I'm encountering an issue with Stripe integration in my Expo app when running it on a real iOS device.
Everything works fine on Android builds, iOS simulators, and Android simulators, but when I try ...
0
votes
1
answer
68
views
Install drf-api-key in django
I am trying to install drf-api-key in django. I am using Linux Mint 21.3. But I am getting below error.
python3 -m pip install drf-api-key
Defaulting to user installation because normal site-packages ...
0
votes
1
answer
622
views
How to access private api keys in a component in a NextJS application
What is the best practice for accessing a private apiKey in a nextjs component?
I have a component that needs to take an apiKey as a prop:
<Component
apiKey={apiKey}
/>
Currently I am ...
0
votes
1
answer
300
views
Connecting to Coinbase Sandbox API using
I am trying to use Coinbase in Sandbox mode to try out a strategy.
I created an Sandbox API using the instructions here https://docs.cdp.coinbase.com/exchange/docs/sandbox/
However, when I use them in ...
1
vote
0
answers
114
views
Using APIKEY but getting "Bearer token invalid. Bearer missing or bearer value missing."
I just want to use HERE maps with the simplest of all calls to retrieve the long/lat from a given location just like
https://geocode.search.hereapi.com/v1/geocode?q=Berlin&apiKey=mykey
The ...
1
vote
1
answer
236
views
Getting google maps api key from process env
I need to add google maps api key into my .env file.
I configured my webpack according to this config and use it in my map component.
When I console log this key I can see it in console, But while ...
0
votes
1
answer
520
views
This page can't load Google Maps correctly - even with billing and API key in place
We have an issue where we get the error "This page can't load Google Maps correctly".
Steps are as follows:
The instance was created on Google Cloud (without billing in test phase) and API ...
0
votes
1
answer
104
views
Firebase android and ios API keys compromised on github
I am working on a flutter chat app on android and ios.
Unfortunately, I pushed my full working folder to my GitHub repository and later on received an email from GitHub that my API keys are ...
0
votes
0
answers
117
views
Code works but shows 401 client error in replit
I wrote this piece of code on my pycharm which works and still works anytime I run it on pycharm. But I needed to put the code on replit and it keeps giving me 401 client error on replit
On replit I ...
2
votes
1
answer
4k
views
How to safely store API Keys in a database for a REST API?
I'm building a REST API that uses API keys for authentication. I want to ensure that these API keys are stored securely in my database. If I were storing user passwords, I would use Argon2id for ...
0
votes
0
answers
99
views
Compreface Javascript SDK React App Failed to load resource: the server responded with a status of 404 () After running command npm start
Currently running Compreface Javascript SDK webcam using IDE Visual Studio Code and running into an issue.
Once I run the command npm start I get the Chrome page to pop-up and start video. Once I ...
0
votes
1
answer
770
views
Why should I get credentialsUri when I have got a api-key?
When I follow this tuition try to acess gemini, I got a error:
Your default credentials were not found. To set up Application Default Credentials for your environment, see https://cloud.google.com/...
0
votes
1
answer
769
views
OpenAI API error: How do I fix error 400 when using the Chat Completions API?
I am trying to make a small webpage where a button click would allow me to fetch the latest news in German from the OpenAI API.
Unfortunately, there's something wrong with my API calls which I want ...
0
votes
2
answers
8k
views
Accessing an API using a key in python
I'm new to using APIs in python and trying to access an API at the moment but keep getting an error code that based on the API documentation means I do not have access. I do have an account with an ...
0
votes
1
answer
816
views
Beginner, I am stuck on setting up to use the GPT 3.5 model in Jupyter Notebook?
I am completely new, so apologies in advance.
I have Python 3.11.4 installed on my Mac.
According to the OpenAI Quickstart guide, I must install the OpenAI Python library by running 'pip install --...
0
votes
0
answers
377
views
403 error when requesting Petfinder API Key
I created a Petfinder account and tried getting an API key through https://www.petfinder.com/developers/signup/ but when I fill out my information, I get a 403 Forbidden error. Has anyone encountered ...
0
votes
1
answer
426
views
Locust : Not able to use the config value from env file
I am trying to run a locust test but I am not able to use the .env file values
.env file contains
"Value": diuqriqjqj
In the locust.py I have added
apiKey = os.environ.get("VALUE", ...
1
vote
1
answer
261
views
Using google maps api key in open source GitHub repository in Flutter app
I am developing an open source Google Maps project by Flutter and I do not want the GMS API to appear in my repo when I integrate with Google Maps. I don't know how I can use the variable in the .env ...