Exception on embedding dashboard in application

when i try to integrate a dashboard in my application (node js) i use the explanation in the embedding in application section, but when trying to load the iframe i get the following error:

ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts. Position: 81

can someone point me what to do


If you could share a code snippet of your embedding code that would help a lot