Misbehaving with mailchimp
See original GitHub issueReally happy about this lib. Unfortunately it is misbehaving with mailchimp subscriptions for unknown reasons i am trying to figure out.
The code i am using is quite simple:
I have censored parts for reasons.
var self = this
this.$jsonp('//XXXX.list-manage.com/subscribe/post-json?u=XXXX&id=XXXX', {
'EMAIL': self.email,
'FNAME': self.first_name,
'LNAME': self.last_name
}).then(json => {
console.log('success')
console.log(json)
}).catch(err => {
console.log('fail')
console.log(err)
})
The error i get is following:
Uncaught SyntaxError: Unexpected token :
http://XXXX.list-manage.com/subscribe/post-json?u=XXXX&id=XXXX&EMAIL=undefined&FNAME=undefined&LNAME=undefined&callback=jsonp_1745155b8b651a0:1
I am not sure which : it is referring to, but i can see one in the end of the URI, which may be related?
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Embedded MailChimp Forms - Misbehaving when opened in ...
I'm using an embedded MailChimp sign-up form. Javascript is disabled on this form and I've set the page to redirect to a specific...
Read more >Why Accounts Get Suspended - Mailchimp
In this article, you'll learn more about why accounts are suspended. Red flags. Our Compliance Team works with the abuse-prevention system Omnivore to...
Read more >“oops there is an error, please try again later” - page 2 | WordPress.org
Our newsletter form just started misbehaving, everytime someone tries to subscribe, we get the error message “oops there is an error”.
Read more >Google App Engine blocked again
If I'm sharing an IP with another Mailchimp user and their app is misbehaving, why are you not blocking their API key rather...
Read more >Mailchimp - Dive into the human psyche as it relates to...
Dive into the human psyche as it relates to marketing and learn about money, misbehaving, and why things catch on in our latest...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

流啤
Sorry for being so late, this problem probably is solved in #8