Laravel-websockets: "Error sending event" error on dashboard

Created on 23 Jun 2019  路  3Comments  路  Source: beyondcode/laravel-websockets

After going to the dashboard and clicking 'send event' I see this: https://prnt.sc/o5bmrm

Any ideas?

Most helpful comment

The string in Data needs to be a valid JSON object. e.g. {"message": "blah"}

The error message could definitely be better though.

All 3 comments

Keeps happening to me too. Haven't figured out why yet

The string in Data needs to be a valid JSON object. e.g. {"message": "blah"}

The error message could definitely be better though.

this happens on any type of error.
I have the exact issue like here: #185
Everything is fine with formatting of inputs tho.

Tried even running it locally with 'php artisan serve' and 'php artisan websockets:serve' but still doesn't work.

Was this page helpful?
0 / 5 - 0 ratings