help
May 28, 2019, 9:52am
1
Hi all,
I am trying to setup a Oauth connection to Mailchimp to get users’ lists, and then add a ‘Lead’ (email and name) to the list they choose.
I am getting the following popup error after being redirected to Mailchimp and logging in, then returning to my Bubble app:
Here is the config in the API:
Any ideas appreciated!
Hey,
Please check out the following screenshot:
1 Like
help
May 28, 2019, 10:09am
3
Thanks, got a new error message now though, any idea?:
Share the screenshot of the config, please.
help
May 28, 2019, 10:12am
5
The config screenshot is above - no other config has been setup. I am only using the Signup/login with a social network action
Try to use
Authorization: OAuth
instead of the Authorization: Bearer
1 Like
help
May 28, 2019, 10:17am
7
Hmm same error message coming back, very strange!
Thanks for the continued help
Hm. Try to uncheck Requesting an access token uses Basic Auth , please.
help
May 28, 2019, 10:31am
9
New error
Nearly there I can feel it
Great! That means that tokens are generating properly.
1 Like
help
May 28, 2019, 10:33am
11
OK, I’m logging in with my Mailchimp creds, so weird the ID is not returning - any idea what to do next?
If we get this sorted, I might have a couple more API’s I’d be happy to pay you to integrate
You were using the wrong field names.
id > user_id
email > login.email
1 Like
help
May 28, 2019, 10:56am
13
lottemint.md:
login.email
You are the best!
Thank you very much!
1 Like
BTW, do not forget to click on the following checkbox:
It will refresh the tokens.
1 Like
help
May 28, 2019, 11:11am
17
Thank you! I shall tick that
NigelG
May 28, 2019, 7:00pm
18
If you still have editor access to Sprrk.ly then it is all in there
Make sure you are getting the data centre back by doing a metadata call and use that as a parameter in the API call to lists.
It is that dc : us20 thingy.
NigelG
May 28, 2019, 7:10pm
19
Mailchimp tokens don’t expire AFAIK - so you don’t get refresh tokens.