I kept getting the message ‘You are not subscribed to this API.’
This doesn’t happen if it place the API Key into my fetchData.js file but if i want it to be secure and place it in the .env file, i get this message.
Any help is appreciated.
Thanks
Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:
I moved my .env file to the root of my project and it worked…Thanks
you must activate the free subscription, that’s sufficient.
Search by test endpoint
This seems like a common error when you have you .env file stored in src instead of root of your project. Try moving it and then restarting your server. That should work.
I’m having the same problem