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
- Clarity on Appwrite Messging
When using Appwrite messaging with FCM, do I need to include the user's firebaseToken in the createTarget object? If I omit the firebaseToken, will Appwrite sti...
- i created a chat app this use appwrite r...
Each collection represents a chat, and permission is granted based on the team ID. When sending a message, I listen for real-time updates, and the message is di...
- Can function events be triggered when de...
I am a developing an appwrite function locally. I am not sure how to add a trigger for bucket file creation events. I added in the appwrite.json into the events...