Getting error: Validation errors in shopify.app.toml:

Looks like this is duplicated issue of Shopify cli error.

I had the same error, and updating the CLI to 4.2.0 resolved it for me.