Distance matrix api not working

Have you gotten this working in a browser yet? If not, then you shouldn’t be working in Thunkable yet. The first step is to make sure you can get a valid JSON response in a browser.

Because this doesn’t look like it’s going to work to me:

[image removed]

The user’s input will contain spaces and I think that will break the url.

But even if that works – and it may – you’re using zero for the list index and that isn’t valid in Thunkable. Try 1 instead. See the last part of this post: