Hey guys, I have appwrite locally running in docker. After creating new function using cli and tried to push the function to appwrite local it failed with the following error:
[Error] Timestamp: 2025-01-26T22:33:36+00:00
[Error] Method: POST
[Error] URL: /v1/functions
[Error] Type: Utopia\Exception
[Error] Message: Invalid specification param: Specification must be one of:
[Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php
[Error] Line: 774
I managed to fix this by removing the "specification": "s-1vcpu-512mb" from the appwrite.json function's metadata. Changing the value to "specification": "s-0.5vcpu-512mb" didn't fix the issue either. It has to be removed and it will work.
appwrite local is version 6.2.0
This issue didn't happen if I use appwrite cloud.
Is this a know bug or issue?
Yes, this is a known bug
Recommended threads
- "Domain verification failed"
"Domain verification failed" I was install Appwrite in my VDS server. I using Coolify for install Appwrite. After install complete, i want add my domain, and i ...
- Appwrite Sites triggers builds for all p...
I connected my Appwrite Sites to my Git app on my self hosted Appwrite server, but even though I only connected it to main branch, it creates a build every sing...
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...