btholt / complete-intro-to-react-v4

The Complete Intro to React, as given for Frontend Masters
https://frontendmasters.com/learn/react/
1.14k stars 248 forks source link

Getting CORS errors accessing Petfinder API #29

Closed the-nick-wilson closed 5 years ago

the-nick-wilson commented 5 years ago

I'm getting the following error all of a sudden from the browser when running this project:

Cross-Origin Read Blocking (CORB) blocked cross-origin response http://api.petfinder.com/pet.find?key=undefined&format=json&location=Seattle%2C%20WA&animal=&breed=&output=full&callback=jsonp_03yl8az6ytcuukf with MIME type text/plain. See https://www.chromestatus.com/feature/5629709824032768 for more details.

Did something change on the Petfinder API server?

1Marc commented 5 years ago

Duplicate issue #9

the-nick-wilson commented 5 years ago

Yep, clearing the cache helped, thank you!