Error 403 extension

Their api respond correctly when called via python, while in the extensions in JS this error occurs, the error is given even if the fields remain empty even if the control function I use gives the possibility to insert the data before submitting as mandatory. It seems that the script in JS is not loading