Invalid `queries` param: Invalid query method

Open
#2,916 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
frontend

Research direction

Start by reproducing the project-creation flow with the reported /v1/projects request and compare the Console 7.8.19 behavior with Appwrite 1.8.1. Done means a newly created project appears without a refresh and opens when clicked, without the invalid select query-method response.

Written by the indexing model from the issue text.

Description

👟 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?
Dominant language
Svelte
Stars
394
Forks
259
Avg merge
5h 52m
Merged PRs (30d)
19

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from appwrite/console

All issues in appwrite/console

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.