Skip to content

🐛 Bug Report: Session not found. Please run appwrite login to create a session #239

@Horsty80

Description

@Horsty80

👟 Reproduction steps

Running appwrite push functions

I've setup my client before

  appwrite client --endpoint "$APPWRITE_API_ENDPOINT"
  appwrite client --project-id "$APPWRITE_PROJECT_ID"
  appwrite client --key "$APPWRITE_API_KEY"

Secret & vars are go, I've checked them

👍 Expected behavior

It should push my function from my GitHub action.

👎 Actual Behavior

CLI Error:

Error: Session not found. Please run `appwrite login` to create a session
    at sdkForConsole (file:///opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/appwrite-cli/dist/lib/sdks.js:11:15)
    at createPushInstance (file:///opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/appwrite-cli/dist/lib/commands/push.js:1204:33)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async pushFunction (file:///opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/appwrite-cli/dist/lib/commands/push.js:1447:26)

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

CLI version: 13.0.1

👀 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