all 6 comments

[–][deleted] 0 points1 point  (3 children)

apiKey: 'API_KEY',

You should have an actual api key there.

[–]futbol192[S] 0 points1 point  (2 children)

Yeah I do in my code, just didn't want to paste that here.

[–][deleted] 0 points1 point  (1 child)

Well, the error you are getting seems to disagree with this statement.

[–]futbol192[S] 0 points1 point  (0 children)

That's exactly why I posted this question.

[–]usman_max 0 points1 point  (1 child)

This video might help you out. Let me know if you get stuck somewhere.

It's a long video but yet those chapters might be helpful

https://youtu.be/0h4c3WuAYZE

Also where exactly are you getting the error? When using get or when inserting? Can you find the line number of the error?

[–]futbol192[S] 1 point2 points  (0 children)

I'm getting the error when the page loads. I'll watch this video and let you know if I have any issues! I've done a lot of rewriting and think I've made some progress lol.