
Hi!
I am trying to deploy my function with appwrite CLI. Till today, it worked every time, very well, but because of some reason I am getting this output when using appwrite push function
:
(base) name@MacBook-Pro-by-name % appwrite push function
? Which functions would you like to push? queryGooglePlaces (<id>)
ℹ Info: Validating functions ...
ℹ Info: Checking for changes ...
ℹ Info: Pushing functions ...
✗ Error • queryGooglePlaces (<id>) • Document with the requested ID already exists. Try again with a
✗ Error: No functions were pushed.
I tried deleting the function on the backend, push again, but then this happens:
(base) name@MacBook-Pro-by-name % appwrite push function
? Which functions would you like to push? queryGooglePlaces (<id>)
ℹ Info: Validating functions ...
ℹ Info: Checking for changes ...
ℹ Info: Pushing functions ...
✗ Error • queryGooglePlaces (<id>) • Function with the requested ID could not be found.
✗ Error: No functions were pushed.
Interestingly, it does create the function on the backend and I can see it in the console, but it does not create a deployment. But I can see a build (.tar.gz) in my root folder which is the build from this function. I am also able to deploy this build then manually, but it's obviously not a solution to delete the function, execute appwrite push function, get an error and then finally upload the build manually.
Thank you very much for your help in advance!
PS: I am using Appwrite Cloud & the newest version of appwrite CLI, I also tried reinstalling appwrite CLI, but it's still not working.

So I don't wanna stress this, but it'd be really nice if someone could help me with this issue 😅

can you try appwrite pull functions
?

seems like an issue with not syncing of your local deployment with cloud one
Recommended threads
- Queries Length Error.
Hi All, I am having a issues across my app with how i am getting data, and just wanted to check if this was an issues with the new changes on appwrite over the...
- Realtime is not working!!
It shows `Session is not valid`. I am using SSR login. If if set table permission `User(Read)` then realtime can not show update. But if I set table permission...
- How to make only main branch trigger bui...
Hello! Using cloud. On sites, when I push to github a commit I made to a branch in the repo, which is not the main branch and it is not the one set as "producti...
