❔ Null warning from accessing weather results from an API call

I'm creating a weather app that allows you to type in the name of a city and then get it's information from which you can use a key to get the weather for it. I've gotten the first part down, but I'm having trouble with the second part in that I try to get the JSON results from a different api link where I need the city key. I keep getting a null warning from my code when I try to get and deserialize the json, but I don't see anything in the JSON itself that has a null value. any suggestions?

pastebin of code:
https://paste.mod.gg/miyqeovcslff/0

pic of json:
image.png
A tool for sharing your source code with the world!
Was this page helpful?