#Gaben-API-key-postman
1 messages ยท Page 1 of 1 (latest)
Hello ๐
How are you passing the API key? Can you make sure if the box beside Authorization is checked?
yes, here is the picture
I followed the instruction of Stripe video on youtube but it didn't work
Can you double check if the API key is pasted completely? Sometimes it can get truncated while copy pasting it
Also it seems like you're making request to a local server first and then to Stripe
Can you check if your request header arrives with the API key in the header?
I wonder if your server-side library is initialized correctly with the API key
so, it seems like you are already setting API key from process.env
do you have a .env file in your server directory?
yes, I have double checked the key, and it's the same with the api key in the postman and the stripe dashboard too
oh I figured it out, it's regconize the .env file but it seems it couldn't read the variable in it, I replace the process.env with the api and it works
finally got it, thanks a lots