Upload Endpoint (/api/v1/suno/upload) Returning 500 Internal Server Error

Hello Suno API Support Team,

I am experiencing a persistent issue with the upload endpoint and would like to request assistance.

Issue Summary: The /api/v1/suno/upload endpoint is consistently returning "500 Internal Server Error" when attempting to upload audio files for cover music generation.

Endpoint Details:

  • URL: https://api.sunoapi.com/api/v1/suno/upload

  • Method: POST

  • Content-Type: application/json

Request Body:

{
  "url": "https://pub-9d6b280d02cc4403a75deb2da672b5c6.r2.dev/1759368464511-1759368463857-ego-60s.mp3"
}

Response:

{
  "error": "Internal Server Error"
}

HTTP Status: 500

What I've Verified:

  1. ✅ API Key is valid (credits remaining: 1204)

  2. ✅ Audio URL is accessible (returns 200 OK)

  3. ✅ Audio file meets requirements:

    • Format: MP3

    • Duration: 60 seconds (within 6-60s limit)

    • File size: ~9MB

    • Properly trimmed using FFmpeg

  4. ✅ Uploaded to Cloudflare R2 with public access

  5. ✅ Tested with multiple audio URLs (including Suno CDN URLs)

  6. ✅ Other endpoints work fine:

    • /api/v1/suno/create (music generation) - Working ✓

    • /api/v1/suno/task/{task_id} (status check) - Working ✓

    • /api/v1/get-credits - Working ✓

Tested URLs (All Failed with 500):

  • R2 hosted: https://pub-9d6b280d02cc4403a75deb2da672b5c6.r2.dev/...

  • Example URL: https://audio.jukehost.co.uk/Ij5SXdAJKLg4tggS8T1xIH1Z0DuOWq5e.mp3

  • Suno CDN: https://cdn1.suno.ai/3c33ec0e-fd45-4881-bc59-b33f7a0208c9.mp3

Use Case: I am building an automated music cover generation system that:

  1. Uploads original music files

  2. Gets clip_id from upload response

  3. Creates cover versions using the uploaded audio as reference

Questions:

  1. Is the /api/v1/suno/upload endpoint currently operational?

  2. Are there any undocumented requirements for the audio URL?

  3. Is there a rate limit or quota for upload operations?

  4. Should I use a different endpoint for uploading audio files?

  5. Are there any recent changes to the upload API that might affect this?

Request: Could you please:

  • Confirm if the upload endpoint is working

  • Provide guidance on the correct way to upload audio files

  • Share any error logs that might explain the 500 error

  • Suggest alternative approaches if the upload endpoint is deprecated

My Environment:

  • API Base URL: https://api.sunoapi.com

  • Authorization: Bearer token (valid)

  • Implementation: Node.js with Axios

Thank you for your assistance. Please let me know if you need any additional information or logs.

Best regards, [Your Name]

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
🐛

Bug Reports

Date

5 months ago

Author

키프레임

Subscribe to post

Get notified by email when there are changes.