pixeleet
pixeleet•6mo ago

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
pixeleet
pixeleet•5mo ago
No description
Faton
Faton•5mo ago
Will take a look
rubenf
rubenf•5mo ago
It's because of the WHERE clause, it can't by dynamic (which we should limit in the UI @Faton )
pixeleet
pixeleet•5mo ago
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?
rubenf
rubenf•5mo ago
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
pixeleet
pixeleet•5mo ago
I'll try the recreate brb
pixeleet
pixeleet•5mo ago
Recreated but stil sadness
No description
pixeleet
pixeleet•5mo ago
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 😦
Error during execution
An error occured, please contact the app author.
Bad request: path rawscript/8f95adce26fddeb25dc832d316314054953e0f4496c0979e15e5e81b8cac6331 is not allowed in the app policy
Error during execution
An error occured, please contact the app author.
Bad request: path rawscript/8f95adce26fddeb25dc832d316314054953e0f4496c0979e15e5e81b8cac6331 is not allowed in the app policy
Pasted app export
pixeleet
pixeleet•5mo ago
No matter if I run it as the owner and creator of the app or an other user.
rubenf
rubenf•5mo ago
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
pixeleet
pixeleet•5mo ago
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