'Error websocket djangochannelsrestframework

I did websocket connection by djangochannelsrestframework library, it connects but when I send some message it gets this error below Error image



Solution 1:[1]

I can't tell what's exactly wrong if I don't see your code

But in my eyes, it seems like you are passing some data that are not JSON serializable - or maybe passing a set instead of dict

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 MeHDI RH