Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

[Ionic 4] Error http: okhttp3.internal.http2.StreamResetException

$
0
0

@prtercio wrote:

Hi guys,

My code:

let nativeCall = this.nativeHttp.get(“https://api.cartolafc.globo.com/times?q=”+value, {},
{‘Content-Type’:‘application/json;charset=UTF-8’}
);
from(nativeCall).pipe().subscribe(data=>{
console.log(data.status);
console.log(data.data); // data received by server
console.log(data.headers);
}, error =>{
console.log(error.status);
console.log(error.data); // data received by server
console.log(error.headers);
console.log(error);
});
}

Error:
status: -1
error: “There was an error with the request: okhttp3.internal.http2.StreamResetException: stream was reset: INTERNAL_ERROR”

Any suggestion?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>