Broadcaster config getting corrupted after a while

Hello,

I have been developing a Twitch extension for the past 3 weeks with no major issues.

Since yesterday though I discovered a strange bug with the broadcaster config. I am setting it in JS using Twitch.ext.configuration.set(‘broadcaster’, ‘1’, JSON.stringify(configPayload));

configPayload is a simple array of different items that the streamer can set.

This morning, I was playing around with different settings on my streamer config page (where I am the broadcaster) and discovered that if I was setting the config enough time, eventually it’d get corrupt, never set, send this error: [GraphQL] One or more GraphQL errors were detected on request 01KBQFA3N6HQTAS1BTTK53GDB4. SetExtensionConfiguration: service error [{…}]

And afterwards, unless i set a simple string in the config (like “Hello World”), setting it to any variable would fail. I was able to reproduce this on 3 of my accounts with the same behaviour. Each time I was clicking different buttons so I’ don’t think it’s linked to the content itself?

Unfortunately this renders the config completely unusable. I’ve tried completely removing the extension and putting it back, clearing my cache but the error still always come back.

Unfortunately the error is too vague for me to know what the exact issue is, but at least I know that it’s not that the data I put in the config is too big.

If all else fails, I’ll create my own config systems but I was curious if anyone had any idea of how I could try and fix this. I’ve got a video showing the error happening and am happy to share the content of my config if helpful as well.

Best,
Pauline

Update: I tried setting the config using the API instead. I’m not 100% sure I did it exactly right but I got the following response:
{

"error": "Internal Server Error",

"status": 500,

"message": ""

}

If you are ashhki on the developer discord I answered on the developer discord.

If not, whats the config you are trying to set as?