I recently came up with a limitation on using long Expression
I was mapping a Custom Optionset label with value using the expression and came across invalid expression alert, Then I started dividing expression to find out in which line the issue was and then found it has some character limit on 8192, which i could have searched on Microsoft doc earlier and might have saved a lot of time.

Refer Below link to find
Limits and configuration in Power Automate

*This post is locked for comments