net::ERR_HTTP2_PROTOCOL_ERROR by http get request angular 15.2

Yehress
getDisastersByDate(date: string) {
    if(date == this.getCurrentDate()) {
      // current disasters
      this.url = "https://api.reliefweb.int/v1/disasters?appname=rwint-user-0&profile=full&preset=latest&slim=1&limit=1000";
} else {
...
}

    return this.http.get(this.url, {responseType: "json"});
  }

Everything worked fine till I got this: enter image description here

I tried a lot of solutions with browser setttings, but it did not worked for me either.

Muhammad Saqlain

I have also faced same behaviour using reliefweb apis. It works some times & sometimes it doesn't. Depends on server disk space on reliefweb server.

What i did is to call API again as soon as i get this error.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Angular HTTP POST Request throwing net::ERR_HTTP2_PROTOCOL_ERROR error

What's the net::ERR_HTTP2_PROTOCOL_ERROR about?

GCS HTTP2_STREAM_ERROR - net::ERR_HTTP2_PROTOCOL_ERROR 200

Chrome net::ERR_HTTP2_PROTOCOL_ERROR 200 after a reconnect

Hitting the http get request for linkedin giving error in angular 2

ERR_HTTP2_PROTOCOL_ERROR when opening Notebook in JUPYTERLAB Azure ML Studio

Can't make http request with Angular 15

Http PUT in Angular2 to .NET Core Web API gives http 401 error from the preflight request

Cannot sign into my app using AzreADB2C. Getting browser error: ERR_HTTP2_PROTOCOL_ERROR

How to add Headers to http.get request in Angular2?

Angular2 http get request results into 404

Angular 2 - Multiple HTTP get request and cache response

Angular Http Get request return Array(2)[Object, Object] but undefined

HTTP Transform request in Angular 2

Angular2 Http Request

HTTP_Request2 GET error

Angular 2 HTTP get handling 404 error

get headers from get Http request in Angular

Angular 2 Simple HTTP Get

Angular 2 http get observable

Angular 2 http get not getting

Get a specific response header (e.g., Content-Disposition) in Angular from an ASP.NET Web API 2 response for a cross-origin http.get request

Angular2 - Http POST request parameters

Angular2 Http / Jsonp Not Making Request

Angular 2 And Controlling HTTP Request and Response

Angular 2:How to detect the completion of HTTP request?

Angular2 timeout in http post request

why http request respose is not display in angular 2?

Angular 2 http.post() is not sending the request