Can’t save Bits Products in Dev Rig


#1

Hi,

I tried to create and save some Bit Products in the Dev Rig. However, if I want to save the entries, nothing happens.

There is shown an error in my console:

POST https://api.twitch.tv/v5/bits/extensions/twitch.ext.$%7BclientId%7D/products/put 400

Any idea, how to solve this?


#2

This sounds like you didn’t configure your rig correctly and the clientID (aka extension ID) is missing.

Please recheck you have configured the rig correctly, restart the rig, and clear localstorage


#3

Hi Barry, thanks for the reply.

I’ve double checked this. Everything seems to be correct. I can access the Manage Bits Products tab. If configuration wouldn’t be correctly, the tab would be gray :frowning:


#4

One for @bescuseme

Greg Come get riggy with it


#5

Okay, I found the error in some of the Rig source files:

src/util/api.ts
_line 183:
*const path = ‘/v5/bits/extensions/twitch.ext.${clientId}/products/put’;

has to be
const path = `/v5/bits/extensions/twitch.ext.${clientId}/products/put`;

In your git repository this is correct, in your provided zip-files of the Dev Rig not