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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- Selfhosted starter python function retur...
I am running a selfhosted appwrite instance. Creating a node function and executing it works just fine but when i try to execute a python starter function, i ge...
- Can't run functions from console in appw...
Hello, I have an appwrite 1.9.0 self hosted, functions run correctly with client SDK or event when using the function domain *.function.mydomain, for testing pu...