Announcements

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