Wrong Response for loadResponseInternal

I recently tried to upgrade the core and ngx from:

"@cubejs-client/core": "^0.28.52"
"@cubejs-client/ngx": "^0.28.51"

to

"@cubejs-client/core": "^0.31.9",
"@cubejs-client/ngx": "^0.31.0"

When I query cube, I’m not receiving the response because of an error from cubejs-client-core. Does anyone know if I did something wrong? Here’s how I query:

    this.querySubject = new Subject();
    this.resultChanged = this.resultChanged.bind(this);
    this.cubejs
      .watch(this.querySubject)
      .subscribe(this.resultChanged, err => console.log("HTTP Error", err));
    this.querySubject.next(this.query);