Artist profile information not getting from api.
Im calling this URL
url=https://api.spotify.com/v1/artists/****7vxl9s3awf7hz4rr
Endpoint(s): GET /v1/artists/{id}
Scope(s):
Not required as per the dev doc.
Steps to reproduce:
- Authenticate user - get Oauth Token
- Call GET /v1/me - get user info (id,display_name etc)
- CAll GET /v1/artists/{id} - Get the artist information.
Expected behaviour: Artist object as described on; https://developer.spotify.com/console/get-artist/?id= {id}.
Actual behaviour:
Response{protocol=h2, code=400, message=, url=https://api.spotify.com/v1/artists/****7vxl9s3awf7hz4rr*****}
Response Body
{"error":{"status":400,"message":"invalid id"}}
Questions - How to get artist information from spotify API?