Troubleshooting — FAQ

CORS error with a data resource

  • Example error message:
    Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined
  • CORS issues affect Web builds/preview
  • the issue is caused by the configuration of the backend / API system and cannot be resolved from within AppGyver
  • this error can also be caused by other types of errors in connecting to the backend or API, try to make sure the URL is connectable, for example in your browser

Nothing happens when trying to navigate from login page to another page

User is likely trying to open a page which requires authentication. The following change is needed in Composer:
· Open the page that you want to open from the initial page
· Open the page’s Advanced properties from the right-side menu
· Toggle Allow page to be opened without authentication
Other things to try:
· Set the initial page to be Log in from the Global toolbar Auth tab in composer
· Use Dismiss initial view flow function once the user is authenticated to allow navigation to all pages

Application opens to endless spinner state

Likely caused by:
  • Initial page does not have hide spinner node in the logic canvas
    • You can change this by adding "Hide spinner" node connected to "Page mounted” event.
    • The initial page definition can be found from global toolbar navigation setting.
  • Initial page not likely defined in Global toolbar navigation setting
    • Go to Global toolbar navigations setting and define the initial page which is opened when the application opens
  • Preview application failed to load app descriptor

Issues in using Firebase data resources

  • Missing id from get, update, delete resource
    • Add a document id to the request.
    • Example error: string”INVALID_ARGUMENT: Document name “projects/PROJECT_NAME/databases/(default)/documents/COLLECTION” lacks “/” at index 58.
  • 404 not found response from get, update, delete resource
    • Make sure a document with the given document id exists.
    • Example error: NOT_FOUND: Document "projects/PROJECT_NAME/databases/(default)/documents/collection/nonexistentid” not found."
  • Firestore query condition limitations
  • Firestore sorting limitations
  • Missing index
    • Firestore requires indices on document fields that are used in query conditions and sorting. The error message should provide you a link to create the required index. Either create the indices on the fields you’re using in your queries beforehand or created them using the links from the error messages. · More information:
    • Example error: FAILED_PRECONDITION: The query requires an index. You can create it here:

Flow function is not working either in preview app or standalone app

  • Make sure all the flow functions are updated from Flow function marker place in Composer Pro logic editor.
  • If this is not helping, please create an issue report.

How to report an issue to AppGyver?

If you think there is a bug in AppGyver product, please report the issue in issue tracker.
You can find detailed issue submission guidelines here.
Last modified 1mo ago