If this type of error you facing then it might be the Microservice connection issues you have to connect it properly.
For this use :
php artisan passport:install
Then copy the Client ID:
And copy the Client Secret:
then paste to the .env file
After this clear the cache
php artisan c:cache
php artisan view:clear
php artisan r:cache
Then run the page.