the id 913a0ac7-5e2b-4d0c-abcd-aa6eb4d52085 is too big for your id column so it can't store it. It also contains hyphens which won't work as I'm assuming your id column type is BIGINT?
Do you have a code example?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
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
the id 913a0ac7-5e2b-4d0c-abcd-aa6eb4d52085 is too big for your id column so it can't store it. It also contains hyphens which won't work as I'm assuming your id column type is BIGINT?
Do you have a code example?
Please or to participate in this conversation.