{"headers":{"normalizedNames":{},"lazyUpdate":null,"headers":{}},"status":0,"statusText":"Unknown Error","url":null,"ok":false,"name":"HttpErrorResponse","message":"Http failure response for (unknown url): 0 Unknown Error","error":{"isTrusted":true}}

Hello, I have on my logs this error which I tried to reproduce with different devices but I have never been able to.

{“headers”:{“normalizedNames”:{},“lazyUpdate”:null,“headers”:{}},“status”:0,“statusText”:“Unknown Error”,“url”:null,“ok”:false,“name”:“HttpErrorResponse”,“message”:“Http failure response for (unknown url): 0 Unknown Error”,“error”:{“isTrusted”:true}}

This error comes from this function which calls to google api:

public verifySex(file,accessToken,userId,version) {
return new Promise((resolve, reject) => {
headers: {“Authorization”:"Bearer "+accessToken}
.map(res => res)
//call then instead of subscribe to form the promise chain.
data => {
err => {

I don’t know how to solve it and how can reproduce it. It is generating 10 or 15 errors a day. Can anybody help me? Thanks!

Some help here please?

did you find any solution. Im stuck with same issue.

Nothing at the moment, did you find a solution?

Correct me if I’m wrong, but I think it’s because you used the wrong format for http headers, it should be

headers: new HttpHeaders({