gcui-art / suno-api

Use API to call the music generation AI of suno.ai, and easily integrate it into agents like GPTs.
https://suno.gcui.ai
GNU Lesser General Public License v3.0
886 stars 197 forks source link

An error message is returned #31

Closed tykknd closed 2 months ago

tykknd commented 2 months ago

user this api :https://suno.gcui.art/api/get_limit

The following results: Error: response status is 500

Response body Download { "error": "Internal server error. AxiosError: Request failed with status code 403" }

https://suno.gcui.art/docs this page is same problem。

blueeon commented 2 months ago

Please provide more information.

tykknd commented 2 months ago

Please provide more information.

user this api :https://suno.gcui.art/api/get_limit Response body Download { "error": "Internal server error. AxiosError: Request failed with status code 403" }

andy-fang-piccollage commented 2 months ago

Same issue here. api/get_limit will return "Internal server error. AxiosError: Request failed with status code 403" api/generate will return ""Internal server error: undefined"

Since Suno just upgraded their service, I guess they also tweaked some endpoints?

andy-fang-piccollage commented 2 months ago

HOTFIX: Change the CLERK_BASE_URL from https://clerk.suno.ai to https://clerk.suno.com

A PR for this HOTFIX https://github.com/gcui-art/suno-api/pull/32

blueeon commented 2 months ago

@andy-fang-piccollage It works great, thank you.

tykknd commented 2 months ago

@andy-fang-piccollage It works great, thank you.效果很好,谢谢。

現在出現這個問題了

{ "error": "Internal server error. Error: Failed to get session id, you may need to update the SUNO_COOKIE" } 但是我確實是按照步驟把cookie更新了的

blueeon commented 2 months ago

@tykknd Please check if there are any special characters during the cookie duplication process, and refer to #19 . Maybe it’s the same issue, or you could try troubleshooting on your own and share the feedback here.

Prost444 commented 2 months ago
Снимок экрана 2024-04-10 в 20 03 03

I reinstalled repository and followed the instractions. I'm trying to handle this issue all day long and I'm sure this does not refer to https://github.com/gcui-art/suno-api/issues/19 . Yesterday it worked perfectly

blueeon commented 2 months ago

Why are there “<” and “>” around your cookies?

Physicworld commented 2 months ago

is currently working? i got the same error when i do get_limit

could i help on something? im doing a side project that depends on this api and i would like to contribute on keep this running

blueeon commented 2 months ago

is currently working? i got the same error when i do get_limit

could i help on something? im doing a side project that depends on this api and i would like to contribute on keep this running

Of course, it works great: https://suno.gcui.ai/docs If you can, please help troubleshoot any issues you encounter and provide feedback here. We will work on optimizing it. If it’s indeed an unexpected issue, submit a PR and I will greatly appreciate it.

Physicworld commented 2 months ago

For example, my reposiroty was working on the vercel deploy but after the update stopping worrking, so i cloned again the repository and deployed again to vercel and gen i do get_limit i throw an error and also i get error when i try to create a song from my code image

Physicworld commented 2 months ago

it allow you submit prompts to generate songs, but not to check status of a song or download it.

blueeon commented 2 months ago

@Physicworld Please take a closer look at the document. Your API address is incorrect, the right one is: httsp://yourdomain/api/get_limit

Physicworld commented 2 months ago

image the endpoint api/get?ids is not working i think i got internal error server, but this is from suno?

blueeon commented 2 months ago

Could you share the error message?

FelikoHabanero commented 2 months ago

I am in the process of integrating the API with a Unity project, only the "Get_Limit" works fine, but everything else returns "500 Internal Server Error". Is this due to a recent change? Anybody has it working correctly?

blueeon commented 2 months ago

There have been some changes to the official suno API, and I’ve updated it today. It’s now working fine in my local setup and on Vercel. Could you please test it out? Thanks a lot. #42