Skip to content

Invalid queries param: Invalid query method #2916

@onurdumangoz

Description

@onurdumangoz

👟 Reproduction steps

Request URL: https://db.domain.com/v1/projects?queries[0]={"method":"equal","attribute":"teamId","values":["69b52f340034957dad6a"]}&queries[1]={"method":"limit","values":[1]}&queries[2]={"method":"select","values":["$id"]}

Response:

{
    "message": "Invalid `queries` param: Invalid query method: select",
    "code": 400,
    "type": "general_argument_invalid",
    "version": "1.8.1"
}

👍 Expected behavior

It should be possible to create a new project, and it should open when clicked.

👎 Actual Behavior

When a new project is created, it doesn't appear in the list without refreshing the page. Clicking on the project doesn't open it.

🎲 Appwrite version

Version 1.8.x

💻 Operating system

Linux

🧱 Your Environment

Server: Dokploy (0.28.6) on AlmaLinux (10.1), Cloudflare Tunnel
Appwrite version: 1.8.1
Console version: 7.8.19
Redis version: 8.6.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

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