Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API6 /gateway/query with multiple ids issue #49

Open
andreyulaez opened this issue Aug 20, 2024 · 0 comments
Open

API6 /gateway/query with multiple ids issue #49

andreyulaez opened this issue Aug 20, 2024 · 0 comments

Comments

@andreyulaez
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant