beetbox / beetbox/beets

Spotify 400 totally stops import

Open
#5,105 0 comments 0 reactions 0 assignees View on GitHub
spotify
Dominant language
Python
Stars
15.7k
Forks
2.1k
Avg merge
4d 21h
Merged PRs (30d)
31

Description

```
Error: MusicBrainz not reachable in recording search with query {'artist': 'willie nelson, jimmy buffett, emmylou harris, sheryl crow, eric church, george strait, dave matthews, chris stapleton, derek trucks, kris kristofferson, the avett brothers, bobby bare, jack johnson, jamey johnson, lee ann womack, lukas nelson, lyle lovett, margo price, micah nelson, nathaniel rateliff, norah jones, the little willies, ray benson, steve earle, susan tedeschi, vince gill', 'recording': 'roll me up and smoke me when i die - live'}
error: Spotify API error:
{
"error" : {
"status" : 400,
"message" : "Bad request."
}
}
```
It seems like this is caused due to a really long artist list. Every time I import interactive or not this happens

Contributor guide

Open the contributing guide

Research direction

Start by reproducing a Spotify import for a recording with the long artist list shown in the error, then trace where the Spotify 400 response is handled. Done means interactive and non-interactive imports no longer stop on this case and the relevant behavior is covered by the project's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.