Build Fails for branch but works for prod with same netlify.toml

issue is resolved , issue was in netlify file.

Thanks for coming back and sharing your found your solution!