[Solved] Thunkable Live app crashing

V206 seem pretty cool. Nice job.

1 Like

Thanks a lot! Everything working! I’m putting the 5Starts again on Thunkable.

1 Like

Thanks @solveraplicativo, really appreciate that!

Hi @domhnallohanlon, is the keyboard issue back again?. Suddenly I am facing the issue again😢

hi @domhnallohanlon
I recently found out that web api component always crashes thunkable live app when the test app is running some sort of codes related to web api, it keeps saying “Something has gone wrong. Check your blocks and reset the page”.

but when I remove the blocks related to web api, the app work very fine.

Please investigate if there are some bugs in the component web api.

Thanks,
Justin

@juschan0605

Justin, Web APIs are very difficult as far as getting the syntax correct goes. It’s really unlikely this is a bug in Thunkable’s software.

If you are getting the white “something has gone wrong” screen, there are a few things that usually cause that including:

  1. Using the wrong API key or leaving it out
  2. Mispelling a JSON property name
  3. Attempting to get data from an invalid property (e.g. the hierachy is object–>title–>name but you are trying to get object–>name).

Post a screenshot of your Web API blocks and the full url (hide the API key) that you are using as text so that we can try it in a browser to make sure it’s correct.

For a better understanding of APIs and JSON parsing, see my new tutorial video:

1 Like

I would need the full Web API urls, posted as text (not a screenshot).

@tatiang

but the web api url includes api key

Substitute your API key with ‘my_api_key’.

U mean in the url?

You can copy and paste the Web API url into a post and just replace the actual api key with something else.

So instead of something like this:

https://api.openweathermap.org/data/2.5/weather?q=oakland&units=metric&APPID=d74c83p16ce2329mcf82c5611625h459

Post something like this:

https://api.openweathermap.org/data/2.5/weather?q=oakland&units=metric&APPID=[my api key]

1 Like