Error when displaying weather data from openweather.org api

HttpErrorResponse {headers: HttpHeaders, status: 0, statusText: “Unknown Error”, url: null, ok: false, …

"Http failure response for (unknown url): 0 Unknown Error"
name
:
“HttpErrorResponse”

howcan i solve it