question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Misbehaving with mailchimp

See original GitHub issue

Really 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:closed
  • Created 6 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
huabingtaocommented, Apr 4, 2018

流啤

0reactions
LancerCometcommented, Apr 28, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found