Found a solution for this :
Although when you open the pop-up to check the style section it shows that it's empty, in the properties pane of the container; there is these braces that needs to be removed.
Removing these resolved the error for me.
Hope it helps anyone who is facing the same issue.