ExerciseDB

PAID
By Justin Mozley | Updated 12 days ago | Health and Fitness
Popularity

9.8 / 10

Latency

242ms

Service Level

100%

Back to All Discussions

I am getting an error that says fetchData.js:11 GET https://exercisedb.p.rapidapi.com/exercises/bodyPartList 403 (Forbidden)

avatar
abbasabdallah97
7 months ago

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 ?

avatar
saumyajajodia commented 3 months ago

“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

avatar
nagoriayan07 commented 6 months ago

using jsm video and me also getting same error

avatar
abbasabdallah97 commented 7 months ago

I realized that I should subscribe to the free subscription of the API before being able to benefit from the link.

avatar
rickyvirmani commented 7 months ago

“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

avatar
zzshibbu commented 7 months ago

Same error

Join in the discussion - add comment below:

Login / Signup to post new comments
Rating: 4.1 - Votes: 29