How to use quickchart.io for Weather Graphing

I’m making a Weather App, and I want to graph out hourly weather(24 hours), with quickchart.io. It isn’t accepting the URL I’m stringing together.
Here’s my code:

The error I’m getting:
Chart error: Invalid or unexpected token - 1:81

Any idea what I can do to make it work?
Thanks.

Can you try output that URL to a label rather than the web api block @codeswept ?

Is it valid JSON? I think there’s an issue with the string that says “text” are you missing a “:”?

1 Like

This is not a Web API URL, it is the URL for a web viewer.

If you share the entire URL you are trying I could help!

Also, if you do the same with Ian from quickchart, you’ll get superior support though it may take a few days.

3 Likes

You can redirect your url to text input and copy the url to a notepad and try fixing it.

Pick up a working URL from quickcharts.io and compare to fix the issue. You can even ident your link , quickcharts.io does it automatically for you. Mostly issue occurs when you are missing with curly braces or brackets . Indentation will help identify the same.

Before updating the url on app , first ensure that the link is working. This will reduce lot of efforts and rework. Hope this helps.

Hey @r0han :wave:

Have you checked out our latest addition to the academy?

1 Like