I have an issue with this type of error logging into the pm2 log file. There is no errors in browser, all API request statuses are 200. But, only on first use of application (when refresh page with browser button, or first time type URL) the error shows in log file. There is no error while using inner links for navigation.
I'm using Angular Universal on node Express, and fulfill all requirements. Have CORS set up properly on server (nginx).
There is an error:
ERROR HttpErrorResponse {
headers:
HttpHeaders { normalizedNames: Map {}, lazyUpdate: null, headers: Map {} },
status: 0,
statusText: 'Unknown Error',
url: 'https://www.example.com/api/get-menu-groups',
ok: false,
name: 'HttpErrorResponse',
message:
'Http failure response for https://www.example.com/api/get-menu-groups: 0 Unknown Error',
error: ....}