If you application is inside a Lando container you will need to set it up correctly.
Configure the Database
database:
lando: database
Optionally, override the default lando
script.
bin:
lando: /path/to/lando
Be sure to update any hooks that use drush
to lando drush
.
This requires special configuration.