NicolasSiver / nodebb-plugin-ns-twitch-monitor

Monitors specific channels and adds them to widget view
MIT License
3 stars 5 forks source link

'Mod on _id not allowed' when trying to add channel #5

Closed Niller2005 closed 8 years ago

Niller2005 commented 8 years ago

I have added a client ID from twitch, but when i add a channel it pops up with a little black box in the bottom left corner, and sents me to the settings tab.

NicolasSiver commented 8 years ago

Mod on _id not allowed

Is this a message at notification? (black box at the bottom-left)?

Niller2005 commented 8 years ago

http://puu.sh/pmyKC/7d13a89582.png

NicolasSiver commented 8 years ago

What is the channel's name?

Niller2005 commented 8 years ago

niller2005

NicolasSiver commented 8 years ago
screen shot 2016-06-12 at 9 09 04 am

Performed Add and Remove of the channel several times, I don't have any issue with your channel. Did you specify correctly API Key? What database do you use - MongoDB or Redis?

Niller2005 commented 8 years ago

I have https://forum.longhairdontcare.eu/admin/plugins/twitch-monitor in the Redirect URI. And I just took the client ID it gave me and copy pasted it.

I use mongoDB

NicolasSiver commented 8 years ago

I think I have found an issue with this warning. Don't remember such thing, when did an initial development of the plugin, but some sanitization should be made on responses from Twitch.

And in your case It relates to #4 ticket, while It's successfully creates sorted ID for the record, It isn't possible to store a payload for the Twitch's response.