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
- Redis with user/pass doesn't work NO_AUT...
When trying to externalize my redis to a valkey server, i saw the user/pass doesn't work. After looking the appwrite code, i saw some of the init does not pass...
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...