Unauthorized error while creating a playlist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey everyone, i'm facing a couple of problems and would like to seek help.
Im trying to write a bot that will edit and update my playlists based on other public playlists( add / remove songs on a dailyt basis).
I am using the spotify-web-api-node package by Michael Thelin (https://github.com/thelinmichael/spotify-web-api-node) .
I have obtained an access token and managed to get some basic information about artists, albums etc. but whenever I try to perform some sort of a POST request (such as createPlaylist) i recieve the next error:
WebapiRegularError: An error occurred while communicating with Spotify's Web API.
Details: Unauthorized.
I am not sure if i'm doing everything right or not concerning the whole authrization proccess.
I would love to hear insights from professionals, Thank you in advance
I am not sure if i'm doing everything right or not concerning the whole authrization proccess.
I would love to hear insights from professionals, Thank you in advance
Labels:
- Labels:
-
Discussion
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page