iOS Build a Weather App Fetching Data From the Web Making a Simple Network Request

Joey Liu
Joey Liu
3,982 Points

Thread 1: Fatal error: 'try!' expression unexpectedly raised an error

Thread 1: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=256 "The file “37.8267,-122.4233” couldn’t be opened." UserInfo={NSURL=37.8267,-122.4233 -- https://api.darksky.net/forecase/c082b4b193cdb5f8d65d41bb705ae8c0/}

Tobi Kuyoro
Tobi Kuyoro
4,568 Points

I'm getting the same error