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
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?