Skip to content

🐛 Bug Report: response prop of AppwriteException declares string, but the response is actually an object #1017

Open
@stnguyen90

Description

The response prop of AppwriteException declares string, but the response is actually an object in version 1.6.0: https://github.com/appwrite/sdk-for-node/blob/7a2418cafaf3cff4247b2e8d9c106e1ab7e9288b/src/client.ts#L23

response: {
    message: 'Invalid token passed in the request.',
    code: 401,
    type: 'user_invalid_token',
    version: '1.6.0'
  }

Originally posted by @hadnet in #73

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions