Please try as follows:
1. In DB AppMaker, click Tools -> Advanced Settings, enable "Debug", generate all scripts again, including the API.
2. Start your app with ionic serve,
3. Press F12 in your Chrome browser, go to Network panel,
4. Run your app again until you get the error,