munafio / chatify

Laravel's #1 one-to-one chatting system package, helps you add a complete real-time chatting system to your new/existing Laravel application with only one command.
https://chatify.munafio.com
GNU General Public License v3.0
2.23k stars 473 forks source link

"message": "Attempt to read property \"id\" on null", #286

Closed Kokil closed 1 year ago

Kokil commented 1 year ago

I am using 1.4 and using laravel passport. this is my config for api image

Authorization header image

i get : { "message": "Unauthenticated." }

i any thing i did wrong

munafio commented 1 year ago

@Kokil this error happens with your application auth not on Chatify side, when your are not authenticated then it will throw this error, so you have to check your auth.