Paulo
October 8, 2024, 10:38pm
3
Hi @Levi_Miller , welcome to the forum!
Could you include a screenshot from preview mode that shows the url when this query runs?
i got this query as resource for a table and set to automatic.
If I unpublish the latest release it works. I can successfully run the queries in preview mode.
Paulo
October 21, 2024, 8:06pm
6
Could you share the contents of this query? It looks like we may be referencing getSubmittedForms
within getSubmittedForms
(Dependency cycle).
Paulo
October 21, 2024, 8:08pm
7
There might a change on the latest release that is causing this issue.
Hi,
It's happening again. It works fine in the editor but when I preview it doesn't work.
It's happening on every new query that I add.
Paulo
November 12, 2024, 11:04pm
9
The queries you are sharing are not the same as the ones above.
For the previous ones,
You are using url.searchParams.projectId
, it would help seeing the param on the url.
For the new ones you shared, could you share the contents of query85
and get_tags_update_project
?
Without this context, diagnosing what's causing your issue is like taking a shot in the dark.
Hi Paolo, sorry for the confusion here. Just to confirm, it's not resource specific, it's all new resources that I add. The issue goes away when I publish or unpublish the application, this makes it difficult to work with you on this as I can't wait to get it fixed, I need to publish.
Does contents mean the information that the database returns?
Paulo
November 13, 2024, 11:56pm
11
I meant what the queries are doing, the SQL if it's a SQL query or the code if it's a JS query, the same way you shared this one:
But on that one we need to see the URL params. If we haven't added the projectid
query param on preview, we would in fact expect it to fail.
Is this only happening with queries or with Components as well?