Expression was unable to be parsed: Number of opened and closed parentheses does not match

Good morning,
Can anyone explain why this code is not working!!!
I got this error:
Expression was unable to be parsed: Number of opened and closed parentheses does not match.

[details=Show More]
Concatenate("data:image/svg+xml;utf8,

[details=Show More]

Show More
Show More
Show More
Show More

")

When i remove this “,300,” and replace it with 300, the code works.
Thanks

Sometimes it is an issue with ’ or " pairing.

Have you check them as well?

hi @Justfateh

try replacing all ’ with “” (2 quote marks)

such as in here:

CONCATENATE("data:image/svg+xml;utf8,
 <svg xmlns=""http://www.w3.org/2000/svg"" viewBox=""0 0 160 160""> 
    <circle cx=""80"" cy=""80"" r=""60"" fill=""none"" stroke=""white"" stroke-width=""22"" /> 
</svg>"
)
2 Likes

i tried but it doesn’t work.
I used “SVG Icon Tool” to convert the SVG Code to this format

Works for me:

Concatenate("data&colon;image/svg+xml;utf8,<svg width=""350"" height=""",300,""" viewBox=""0 0 350 ",300,""" xmlns=""http://www.w3.org/2000/svg"">
<g id=""table"">
<!-- background color -->
<rect width=""350"" height=""685"" fill=""%23e0e0e0""></rect>
</g>
</svg>")
1 Like

Thanks a lot

1 Like

So…basically my suggestion works, right ? :joy:

2 Likes

yes
thank you very much

I create an image SVG looks like receipt

if there is one product

if there is more..

the receipt will expand

so, thank you all in this community.
i’m learning from you.

thank you

1 Like