Skip to content

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

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

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions