Forum Academy Marketplace Showcase Pricing Features

Run Javascript not identifying script paste in header

I’m using a third party API so my customers can connect their bank accounts and fiscal entities.
It was working well until something happened and the java script that I run to launch a widget where the customer inputs their bank/fiscal credentials stopped to work.

Captura de Pantalla 2021-07-28 a la(s) 07.41.51

the script is being imported correctly and I know that because if I try to do the same workflow of launching the widget in another page, it works.

Moreover, if I paste the js code that I run to launch the widget, in the chrome console it still wont work, but it does in another page, weird huh?

Do you guys have any idea of what could be interfering in js accessing html scripts?