I've been trying out some more things and I think you might have to do some more prompt engineering for ChatGPT.
Prompts sometimes result in valid results but sometimes in a SyntaxError "Unexpected token 'A', "An error o"... is not valid JSON".
I also encountered other SyntaxErrors like "the string did not match the pattern".
I would guess this might be related to invalid requests to the Spotify API.
Also, it is possible to directly communicate with ChatGPT. Its responses are then output through a playlistContentFormatter error.
appreciate you checking it out :)