My app works in edit and preview modes, but not when deployed.
Error during execution
An error occured, please contact the app author.
error during execution of the script: Bad request: Missing database argument
To me it seems the database argument is provided as static input at the bottom.
11 Replies
Will take a look
It's because of the WHERE clause, it can't by dynamic (which we should limit in the UI @Faton )
Thanks boys for the follow up! You the best.
Removed the where clause entirely and the issue seems to persist.
Have you managed to reproduce?
Is there a workaround maybe?
put "" in there
actually just make it static and put an empty whitespace string or something
or recreate the whole db studio
we will take a look later
I'll try the recreate brb
Recreated but stil sadness
Different error, but broken still, created a different app, that I want to share with 3rd parties to review images etc.
Now it's about policy errors 😦
Pasted app export
No matter if I run it as the owner and creator of the app or an other user.
Same for columnDefs, they cannot be dynamic
We use them to know what query to whitelist in the policy
having them dynamic is a huge security hole
I see
Can we get an easy way to X columns away from the default column defs? 🙂
I mean there is a toggle for it, but I would prefer being able to have a
x
on the left side I can click to just say don't do select or insert on this, my users don't need know this exists even