Asked by sfitz on March 27, 2025
I’m querying a table by a standard text field (not _id) but the Get Data call returns no results. Am I referencing the field correctly?
Answered by Twidget
Quoted field names refer to table fields correctly. If you are testing in the API Client or the endpoint test, make sure Live Data is enabled to see actual records rather than mock data.
Retrieving related data across tables (example with managers and employees)
One approach: keep company_id and manager_id fields on the Employee table. Use Get Multiple Data filtered by company_id to fetch employees, then for each employee fetch the manager by manager_id (this results in multiple calls).
For better efficiency: perform a single Get Multiple Data to f...
Deleting layers in the page editor
Select the element and press the Delete key, or use the Delete option available in the toolbar options dropdown.
Accessing global variables inside functions
Global variables are accessible only in server‑side contexts (endpoints, server functions, events). They are not available inside client‑side code or client functions.
Sign up error: "No token provided"
Check that you have saved the reCAPTCHA site key and secret key in the API and page settings respectively. Missing or misconfigured reCAPTCHA keys can cause sign‑up token errors.
Securing endpoints with long‑lived tokens / API keys
Follow the authentication guides: https://www.youtube.com/watch?v=kfbS6gJqRa4 and https://www.youtube.com/watch?v=vRtlTfvI22I
By default tokens last 24 hours (86,400 seconds). You can increase the token expiration by editing the command that generates the token in the endpoint — the expirat...