TypeError: Failed to fetch
at SyncService.sendRequest (./src/app/core/database/sync.service.ts:103:20)
at f$1 (./src/app/core/database/sync.service.ts:81:23)
at Generator.next (<anonymous>)
at Generator.next (<anonymous>)
...
(27 additional frame(s) were not displayed)
also, without being logged in, visiting a public form, the app still sends requests to the /_changes feed and ~(on slow connections?)~ may receive 504 gateway errors
GET https://codo-schlaufox.aam-digital.com/db/app/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=1625-g1AAAACReJzLYWBgYMpgTmHgzcvPy09JdcjLz8gvLskBCeexAEmGBiD1HwiyMpiTgIINuUAx9hRzcyPjVGN0bTgMSmRIqoebwHwTbIKZuamFZZIpuvosANFCK5M&limit=25 504 (Gateway Timeout)
main.797afe4fa452aaba.js:1 SyntaxError: Unexpected token '<', "<html>
<h"... is not valid JSON
The PouchDB requests during Sync initialization may fail, which is causing unhandled exceptions. Improve the SyncService for better error handling.
Sentry Issue: AAM-DIGITAL-4P3
also, without being logged in, visiting a public form, the app still sends requests to the /_changes feed and ~(on slow connections?)~ may receive 504 gateway errors