I want to integrate Marketo form with my existing website on yii framework. My code works on all the browsers except Firefox.
Excerpt from my code:
I ran into the same issue (exact error message) and after digging for a couple of hours, I found that the content header needs to be set to application/javascript instead of the application/json that I had. After changing that, it now works.
application/javascript
application/json