Deezer icon

Deezer

Access public song data via the Deezer API

Overview

This node allows users to delete a playlist from Deezer, a music streaming service. It is useful in scenarios where you want to programmatically manage your playlists by removing unwanted or obsolete playlists directly through an automated workflow. For example, you might use this node to clean up playlists that are no longer relevant or to automate playlist management as part of a larger music curation process.

Properties

Name Meaning
Resource ID The unique identifier of the playlist to delete. This is required to specify which playlist will be removed.

(Note: Although the provided properties JSON includes other properties like "Return All", "Offset", and "Limit", these are not relevant for the "Delete a Playlist" operation and thus omitted here.)

Output

The output of this node is a JSON object representing the result of the delete operation. Typically, it will contain confirmation of the deletion or an error message if the operation failed. The exact structure depends on the Deezer API response but generally includes success status or error details.

No binary data output is involved in this operation.

Dependencies

  • Requires an OAuth2 API credential for Deezer to authenticate requests.
  • Uses the Deezer API endpoint https://api.deezer.com to perform operations.
  • Requires proper configuration of the OAuth2 credentials within n8n to obtain a valid access token.

Troubleshooting

  • Common Issues:

    • Invalid or missing playlist ID: Ensure the "Resource ID" property is correctly set to the playlist's unique identifier.
    • Authentication errors: Verify that the OAuth2 credentials are correctly configured and have not expired.
    • Permission issues: The authenticated user must have permission to delete the specified playlist.
  • Error Messages:

    • Errors returned from the Deezer API (e.g., "Playlist not found" or "Unauthorized") will be passed through. Check the playlist ID and authentication.
    • Network or request errors may occur if the API endpoint is unreachable or if rate limits are exceeded.

To resolve errors, verify input parameters, refresh or reconfigure credentials, and ensure the playlist exists and is deletable by the authenticated user.

Links and References

Discussion