Skip to content

Regression: "Error: File not found in payload" creating function deployment #242

@enekonieto

Description

@enekonieto

👟 Reproduction steps

Self hosted Appwrite 1.8.1

Using appwrite-cli 13.0.1:

$ appwrite functions create-deployment --function-id=REDACTED  --code="." --activate=true --verbose
Error: File not found in payload
    at Client.<anonymous> (file:///usr/local/lib/node_modules/appwrite-cli/node_modules/@appwrite.io/console/dist/esm/sdk.js:967:23)
    at Generator.next (<anonymous>)
    at file:///usr/local/lib/node_modules/appwrite-cli/node_modules/@appwrite.io/console/dist/esm/sdk.js:25:71
    at new Promise (<anonymous>)
    at __awaiter (file:///usr/local/lib/node_modules/appwrite-cli/node_modules/@appwrite.io/console/dist/esm/sdk.js:21:12)
    at Client.chunkedUpload (file:///usr/local/lib/node_modules/appwrite-cli/node_modules/@appwrite.io/console/dist/esm/sdk.js:964:16)
    at Functions.createDeployment (file:///usr/local/lib/node_modules/appwrite-cli/node_modules/@appwrite.io/console/dist/esm/sdk.js:9206:28)
    at file:///usr/local/lib/node_modules/appwrite-cli/dist/lib/commands/services/functions.js:133:131

👍 Expected behavior

Same command works ok using v12.0.1

👎 Actual Behavior

Error: File not found in payload in v13.0.1

🎲 Appwrite version

Version 1.8.x

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions