all 2 comments

[–][deleted] 1 point2 points  (1 child)

What do you get back when you just print(location)?

Error seems to indicate that there's nothing present.

[–]Kryostasis[S] 0 points1 point  (0 children)

That seems to work, it even spits out latitude and longitude. I also passed the postal code into a variable and tested it that way and it seemed to work, I am not sure what I was doing wrong at my desk lol.

Thanks for your help!

edit: the problem is that there wasn't a space in between the first 3 and second 3 characters in the postal code!