Announcements
From 28th September 2026, Community private messages will no longer be available. If you have any private messages you'd like to keep, please save or copy them using these steps before this date. Thank you.

Help Wizard

Step 1

NEXT STEP

API masthead/v1/masthead returns 400 status code

Solved!

API masthead/v1/masthead returns 400 status code

There is a new bug that I have encountered on the API endpoint "https://www.spotify.com/api/masthead/v1/masthead". Specifically, the issue occurs when the "market" query parameter is set to "in", it returns a HTTP status code of 400. I have provided some additional details and a reproduction steps below for your convenience.

Please let me know if you need any further information or assistance.

Thank you, Nish

Reproduction Steps:

  1. Send a GET request to "https://www.spotify.com/api/masthead/v1/masthead?market=in"
  2. Observe the response, which should contain the error message.

Expected behavior:

  • The masthead for India should be returned

Actual behavior:

  • The response is a HTTP status code of 400

Note: You could try other values like "us" for the market query to check if it happens to the any other market

Reply

Accepted Solutions
Marked as solution

Update: Bug Fixed

View solution in original post

1 Reply
Marked as solution

Update: Bug Fixed

Suggested posts

Let's introduce ourselves!

Hey there you, ย  Yeah, you!ย 😁 ย  Welcome - we're glad you joined the Spotify Community! ย  While you here, let's have a fun game and getโ€ฆ

ModeratorStaff / Moderator/ 5 years ago  in Social & Random