Skip to content

Track name with < or > symbols causes API to return blank name #227

Open
@mgoodfellow

Description

@mgoodfellow

Title: Track name with < or > symbols causes API to return blank name

Issue found of: October 5th, 2022

Endpoint(s):

  • GET https://api.soundcloud.com/tracks/1356911167

Scope(s):

  • Authenticated

Issue

For track in question:

image

From the v2 API (captured from dev console):

image

However, from the API request above:

    "kind": "track",
    "id": 1356911167,
    "created_at": "2022/10/05 01:36:14 +0000",
    "duration": 184424,
    "commentable": true,
    "comment_count": 0,
    "sharing": "public",
    "tag_list": " ",
    "streamable": true,
    "embeddable_by": "all",
    "purchase_url": null,
    "purchase_title": null,
    "genre": "Hip-hop & Rap",
    "title": "",
    "description": "",
    "label_name": null,
    "release": null,
    "key_signature": null,
    "isrc": null,
    "bpm": null,
    "release_year": null,
    "release_month": null,
    "release_day": null,
    "license": "all-rights-reserved",
    "uri": "https://api.soundcloud.com/tracks/1356911167",
    "user": ...,
    "permalink_url": "https://soundcloud.com/lazy_a-y-e-rpm-allday/stay-strapped",
    "artwork_url": "https://i1.sndcdn.com/artworks-pdZ8ZjFmcoay4idx-mKjxjg-large.jpg",
    "stream_url": "https://api.soundcloud.com/tracks/1356911167/stream",
    "download_url": null,
    "waveform_url": "https://wave.sndcdn.com/PkxSdtPr7itx_m.png",
    "available_country_codes": null,
    "secret_uri": null,
    "user_favorite": false,
    "user_playback_count": 1,
    "playback_count": 7,
    "download_count": 0,
    "favoritings_count": 1,
    "reposts_count": 0,
    "downloadable": false,
    "access": "playable",
    "policy": null,
    "monetization_model": null
}

Note that "title" is blank

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions