soundcloud / api

A public repo for our Developer Community to engage about bugs and feature requests on our Public API
148 stars 24 forks source link

Make/Integromat unable to get files once uploaded (401 error) #221

Closed theadamkramer closed 4 weeks ago

theadamkramer commented 2 years ago

Title: Make/Integromat getting 401 errors after successful Upload; unable to Get a track or metadata

Issue found of: July 2, 2022

Endpoint(s):

Scope(s):

Steps to reproduce:

{
    "response": {
        "status": 401,
        "headers": {
            "content-type": "application/json; charset=utf-8",
            "content-length": "150",
            "connection": "close",
            "date": "Mon, 04 Jul 2022 18:24:36 GMT",
            "x-robots-tag": "noindex",
            "cache-control": "private, max-age=0",
            "referrer-policy": "no-referrer",
            "x-frame-options": "DENY",
            "x-content-type-options": "nosniff",
            "strict-transport-security": "max-age=63072000; includeSubdomains; preload",
            "server": "am/2",
            "vary": "Origin",
            "x-cache": "Error from cloudfront",
            "via": "1.1 [92ed8a6103fa735c31caf49b92d4efb6.cloudfront.net](http://92ed8a6103fa735c31caf49b92d4efb6.cloudfront.net/) (CloudFront)",
            "x-amz-cf-pop": "IAD89-P2",
            "x-amz-cf-id": "9jpbA3YqlIyVpfP1T10BTQhNvIXUoHCxhr6j3fQPkhOzKfEjSd4BYA=="
        },
        "body": {
            "code": 401,
            "message": "",
            "link": "https://developers.soundcloud.com/docs/api/explorer/open-api",
            "status": "401 - Unauthorized",
            "errors": [],
            "error": null
        }
    },
    "request": {
        "url": "https://api.soundcloud.com/tracks/1299524359",
        "headers": {
            "user-agent": "Make/production",
            "authorization": "***"
        },
        "method": "GET"
    }
}

Expected behaviour:

Get/Download of requested track

Actual behaviour:

401 Unauthorized error (consistently) image

youssefhassan commented 4 weeks ago

Stale