Asked by glkehr on June 12, 2025
When trying to sign up I receive "No token provided". How do I troubleshoot this?
Answered by Twidget
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...
Querying records by a date field
Convert the incoming date text input to a Date (or the platform’s date object) and then query the database using that date field. A working datetime format is like 2025-08-08T00:00:00.
To append a time suffix to a date string, use the Concat command (for example, concat(dateText, 'T00:00:00...
Uploading files via API (curl example)
When uploading files with curl use the --form parameter. Example:
curl --location 'http://f343f.twidget.io/files/single' \ --form 'single=@"/OneDrive/Pictures/image.jpg"' \ --form 'path="/folder/file.png"'
This uses multipart/form-data to send the file.
Testing Twidget APIs with Postman or other front ends
Yes. APIs you create in Twidget can be tested with Postman or used by any front‑end client.
Using Twidget to build a website
Yes — you can build both front‑end pages and backend APIs with Twidget.