Skip to content

API6 /gateway/query with multiple ids issue #49

Description

@andreyulaez

When I make a request with multiple IDs (more than 2), the API only returns the first 2 results.

Steps to Reproduce:

  • Suppose I have 4 song IDs: id_1, id_2, id_3, id_4.
    id_1 and id_2 was generated in one request, same for id_3 and id_4.

  • When I send a GET request like this:
    GET https://api.sunoaiapi.com/api/v1/gateway/query?ids=id_1,id_2,id_3,id_4
    The API response only includes the songs for id_1 and id_2.

  • However, if I request only the last two IDs:
    GET https://api.sunoaiapi.com/api/v1/gateway/query?ids=id_3,id_4
    I get the correct response with both songs.

  • Additionally, if I request a pair of songs from different requests like:
    GET https://api.sunoaiapi.com/api/v1/gateway/query?ids=id_1,id_3
    The response correctly includes both id_1 and id_3 songs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions