Getting data from openweather API
-
Hi,
I’m currently trying to make a weather app and I need to get data from openweathermap.org 's API.
Here’s my current code:

First, it fetches the users cords and stores it in 2 different vars.Then, it fetches data from the api using the "fetch web page as"block. Lastly, it asks chatGPT to gen a weather report.
Problem:
The fetch block always returns an error even though the api is up.Is there a way to fix it/another way to fetch from an api?
Thanks!
-
Can you please share the project link? We will check why there is an error. Thank you
-
Here’s the project link:
https://play.creaticode.com/projects/694b937608b890c381af93e0