kenphanith
2 months ago
421
6
Laravel

data truncated when trying to create personal access client for passport

Posted 2 months ago by kenphanith

Dear great developers, I am new to Laravel and now I am creating an application in Laravel using laravel/passport. I have an issue when trying to create a personal access client. I run php artisan passport:client --personal but I got this following error

SQLSTATE[01000]: Warning: 1265 Data truncated for column 'id' at row 1 (SQL: insert into `oauth_clients` (`user_id`, `name`, `secret`, `provider`, `redirect`, `personal_access_client`, `password_client`, `revoked`, `id`, `updated_at`, `created_at`) values (?, PAC, ed7r2VNqyV7RCW3NZXlkq145jQVe8AwMDPDNDi47, ?, http://localhost, 1, 0, 0, 913a0ac7-5e2b-4d0c-abcd-aa6eb4d52085, 2020-08-07 07:19:09, 2020-08-07 07:19:09))

I've no idea of what's going on behind. please help

Please sign in or create an account to participate in this conversation.