When I call the get method using fetch I get this error. I placed the key in .env then again in the options but both approaches generated the same error. Any one can help ?
“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.”
It worked for me
using jsm video and me also getting same error
I realized that I should subscribe to the free subscription of the API before being able to benefit from the link.
Join in the discussion - add comment below: