I get this error:
"message": "Malformed UTF-8 characters, possibly incorrectly encoded",
this is my real id with uuid type on DB:
944CC79D-5980-4587-8A52-000A2F11D7D1
this is the uuid when try to fetch with php artisan tinker:
b"ØÃLöÇYçEèR\0\n/\x11ÎÐ"
I have done casting to string/uuid in the models, clear cache, but didn't work.
my environment:
- mac os, tahoe 26.1 ver
- php 8.4
- laravel 11
- db using ssql server
previoulsy my environment was on windows, and the program is working fine. well, because the uuid is not malformed.
thank you in advance.