Skip to content

Getting a 401 Unauthorised back from /tracks endpoint when attempting to upload track #500

@aheadfullofcode

Description

@aheadfullofcode

Hi,

My client is getting fresh issues with the track upload endpoint (/tracks). it's returning a 401 error.

I've checked and I have a valid token. Nothing has changed code wise.

{ "id": "1413", "title": "Talk Club - Men's Mental Fitness w/ Jamie Lee & Gavin Thorpe", "startDateTime": "2026-01-13T14:00:00.000Z", "time": "14:00", "description": "An enlightening conversation with Gavin Thorpe — musician & co-founder of male mental health charity Talk Club — exploring mental fitness, human connection & the importance of men coming together to be truly seen & heard. We reflect on what Talk Club is, why it matters & how music has shaped our lives as a source of expression, resilience & meaning.", "resident": "residents/sonic-cocktail-w-jamie-lee", "guests": "", "genres": "[122,101,11,89,199]", "tracklist": "[{\"id\":\"2\",\"title\":\"Too Good For Giving Up\",\"artist\":\"Liam Gallagher\",\"startTime\":\"00:09:12\",\"endTime\":\"00:13:17\",\"color\":\"rgba(0, 0, 200, 0.3)\"},{\"id\":\"3\",\"title\":\"Changes\",\"artist\":\"David Bowie\",\"startTime\":\"00:14:02\",\"endTime\":\"00:17:16\",\"color\":\"rgba(200, 0, 0, 0.3)\"},{\"id\":\"4\",\"title\":\"Now & Then\",\"artist\":\"The Beatles \",\"startTime\":\"00:18:52\",\"endTime\":\"00:22:59\",\"color\":\"rgba(200, 100, 0, 0.3)\"},{\"id\":\"5\",\"title\":\"Cloudbusting\",\"artist\":\"Kate Bush\",\"startTime\":\"00:23:25\",\"endTime\":\"00:28:37\",\"color\":\"rgba(128, 0, 128, 0.3)\"},{\"id\":\"6\",\"title\":\"Lover, You Should Have Come Over\",\"artist\":\"Jeff Buckley\",\"startTime\":\"00:28:37\",\"endTime\":\"00:35:15\",\"color\":\"rgba(0, 128, 128, 0.3)\"},{\"id\":\"7\",\"title\":\"No Hard Feelings\",\"artist\":\"Gavin Thorpe\",\"startTime\":\"00:37:05\",\"endTime\":\"00:41:13\",\"color\":\"rgba(255, 192, 203, 0.3)\"},{\"id\":\"8\",\"title\":\"Home\",\"artist\":\"Depeche Mode\",\"startTime\":\"00:41:29\",\"endTime\":\"00:46:58\",\"color\":\"rgba(165, 42, 42, 0.3)\"},{\"id\":\"9\",\"title\":\"Soul To Save\",\"artist\":\"Gavin Thorpe & Talk Club\",\"startTime\":\"00:46:58\",\"endTime\":\"00:50:30\",\"color\":\"rgba(255, 215, 0, 0.3)\"}]", "status": "submitted", "audioUrl": "https://noods-uploader-shows.lon1.digitaloceanspaces.com/talk-club---mens-mental-fitness-w-jamie-lee--gavin-thorpe-13th-january-26.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801A8GVQRVWG8WER7V%2F20260113%2Flon1%2Fs3%2Faws4_request&X-Amz-Date=20260113T115300Z&X-Amz-Expires=3600&X-Amz-Signature=8b3f2a469e66626b56a9a03573292f045ec4f39ba7152b05611ab5a581093535&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject", "imageUrl": "https://nrytjyopeimxwzjqmyrm.supabase.co/storage/v1/object/sign/images/image_1767522373962_blob?token=eyJraWQiOiJzdG9yYWdlLXVybC1zaWduaW5nLWtleV84NmFiNjE3Zi1hZDYzLTQ1YzAtYWQwMi00ZTcxMTcwMTAwMjQiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJpbWFnZXMvaW1hZ2VfMTc2NzUyMjM3Mzk2Ml9ibG9iIiwiaWF0IjoxNzY4MzA1MTgwLCJleHAiOjE3NjgzMDg3ODB9.AP3Rt5_O0dX7xLAFzPMXAXN2Jn8Ypa_VdncqBbleZrA", "updatedBy": "e31b2aa2-7713-4279-bb8c-79da7e674159", "guestmix": false, "featuredmix": false }

Response from SoundCloud

0:{"a":"$@1","f":"","b":"tqKUMHmAyzzL566o1Xjhz"} 1:{"success":false,"error":"Soundcloud API error (401)"}

Any clues as to why this is happening would be much appreciated!

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