Hi, When I try to deploy my function i got this error : "remoteVariables is not defined" The function is already deploy on another project of my appwrite self hosted. I've just change the cli to get connected to the new project (It is for having dev / prod environnement). Any idea why I can't deploy my function ?
Ok, I've just found an issue about it : https://github.com/appwrite/website/issues/387
variables is not anymore supported in appwrite.json, you've to use "vars"
Does it got solved by doing that?
Yes, just migrate my old appwrite.json replacing variables to use "vars" and now, it's fixed
@MickCan I mark this as solved then or do you need further assistance?
no, it's solved
Recommended threads
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...