Hi, I'm trying to submit listens from my 9front machine using go, and when I try to submit a listen, i get a 500 error, but I can fetch listens alright. I'm using go-listenbrainz to wrap the API. Here's my code: https://paste.debian.net/1402015/ I'm new to go, am I doing something wrong? I've checked my token and it's valid. Thanks in advance!
2025-10-21 29410, 2025
Codified[m] joined the channel
2025-10-21 29410, 2025
Codified[m]
In go the first thing you should do is:... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/czmGdUjDgrsLpNwLUneEkQPI>)
2025-10-21 29420, 2025
Codified[m]
res in your code could be invalid
2025-10-21 29431, 2025
JetpackJackson
I get a "{"errcode":"M_NOT_FOUND","error":"Not found"}" on that link, sorry
2025-10-21 29433, 2025
JetpackJackson
Ive also looked at the library code itself and it looks right api-wise
2025-10-21 29432, 2025
JetpackJackson
Is there some other way I could access your message link?
2025-10-21 29440, 2025
Codified[m]
you don't really need a wrapper the api is really simple, try with a basic http post, it will take you half an hour to implement
2025-10-21 29422, 2025
Codified[m]
maybe the irc bridge isn't working properly?
2025-10-21 29444, 2025
JetpackJackson
I'm like double bridged, I'm using an XMPP to IRC bridge