Hi Ulirich,
It looks like I missed the word ‘new’ in your message. Could it be that there are weird characters in the connection string for that database? I assume that the uuid is plain text, but I am a bit worried about those args. And it looks like some binary data is passed where your database doesn’t expect that.
Can you add print statements to the code, to figure out what it’s doing? And is it possible to switch the database to binary mode?