Simple Membership Plugin › Forums › Simple Membership Plugin › MailChimp Integration Issues
Tagged: mailchimp
- This topic has 9 replies, 6 voices, and was last updated 1 year, 6 months ago by
bobmclaren.
-
AuthorPosts
-
September 22, 2021 at 3:53 pm #23051
dreamzx93
ParticipantThis is the message I get from Mailchimp in terms of the issue they see at debug:
This issue is a bit technical, but I’ll do my best to break it down. You will likely need to speak with the developers of the integration, either this is something they need to resolve on their end or there’s a change needed in your settings.
The issue is how the interest groups are being sent over to us. Here is how they show up in the call the integration sent over:
“interests”: []
Square brackets should not be used here. In addition, the groups themselves were left blank which is unusual. Here’s an example of how these groups should be passed to us:
“interests”: {
“d6f7eb9862”: false,
“a4c9cf1102”: false
},
(03:34:16 PM) Nathan: If you give that info to the developers, they should be able to help you sort this out. Here’s the full error message we sent back in case it’s helpful:{
“message”: “The resource submitted could not be validated. For field-specific details, see the ‘errors’ array.”,
“status_code”: 400,
“errors”: [
{
“field”: “interests”,
“message”: “This value should be of type object.”
}
],
“docs_link”: “https:\/\/mailchimp.com\/developer\/marketing\/docs\/errors\/”
}______________________________________
My website debig log reads:
[2021/09/22 09:54:07] – SUCCESS: Member registration complete email sent to: sparksfinancial@gmail.com. From email address value used: info@sparkslogic.com
[2021/09/22 09:54:07] – SUCCESS: Admin notification email sent to: info@sparkslogic.com
[2021/09/22 09:54:07] – SUCCESS: [MailChimp] Mailchimp integration addon. After registration hook
[2021/09/22 09:54:07] – SUCCESS: [MailChimp] Debug data: SparksLogic Membership | SparksLogic Membership | SparksLogic Free Membership|sparksfinancial@gmail.com|Josh|Sparks
[2021/09/22 09:54:07] – SUCCESS: [MailChimp] Doing list signup.
[2021/09/22 09:54:07] – SUCCESS: [MailChimp] Checking list name : SparksLogic Membership
[2021/09/22 09:54:07] – SUCCESS: [MailChimp] Found a match for the list name on MailChimp. List ID :7268380235
[2021/09/22 09:54:07] – SUCCESS: [MailChimp] List ID to subscribe to:7268380235
[2021/09/22 09:54:07] – SUCCESS: [MailChimp] Getting interest categories…
[2021/09/22 09:54:07] – SUCCESS: [MailChimp] Getting interest groups…
[2021/09/22 09:54:08] – FAILURE: [MailChimp] Unable to subscribe.
[2021/09/22 09:54:08] – FAILURE: Error=400: The resource submitted could not be validated. For field-specific details, see the ‘errors’ array.
[2021/09/22 09:54:08] – SUCCESS: Auto login after registration feature is enabled in settings. Performing auto login for user: dreamzx93
[2021/09/22 09:54:12] – SUCCESS: Handling auto login request…
[2021/09/22 09:54:13] – SUCCESS: After login redirection addon. Checking if member need to be redirected.September 23, 2021 at 12:22 am #23056mbrsolution
ModeratorHi,
I just want to confirm with you. Did you follow the following instructions?
https://simple-membership-plugin.com/signup-members-mailchimp-list/
Regards.
September 24, 2021 at 6:36 pm #23069dreamzx93
ParticipantI did, however that does not remedy the issue. Were you able to look through my debug chain? Thanks
September 28, 2021 at 3:10 am #23081mbrsolution
ModeratorHi, you received the following failure messages.
[2021/09/22 09:54:08] – FAILURE: [MailChimp] Unable to subscribe. [2021/09/22 09:54:08] – FAILURE: Error=400: The resource submitted could not be validated. For field-specific details, see the ‘errors’ array.I have submitted a message to the plugin developers to investigate further your issue.
Thank you.
September 28, 2021 at 3:35 am #23085admin
KeymasterThis could be a mailchimp API version mismatch related issue. Which version of MailChimp API is being used for your account?
Also, check the following just to see if we can narrow it down some:
#1) Make sure to remove any requirement of fields for the list in question. Our plugin will only do the signup using name and email address. If your list has requirement for other fields, then the API request to add the user to that list will bounce. This is usually what triggers that 400 error.
#3) What value did you enter in the list name field?
#2) Remove any groups or any advanced setup. Only do a test with the standard signup to a list (without any other stuff). Does that simple signup work?
August 24, 2022 at 2:10 pm #24302matlud33
ParticipantHi,
I have exactly the same issue.
[2022/08/24 15:54:15] – SUCCESS: [MailChimp] Mailchimp integration addon. Membership upgrade hook.
[2022/08/24 15:54:15] – SUCCESS: [MailChimp] Debug data: Abonnés|||
[2022/08/24 15:54:15] – SUCCESS: [MailChimp] Doing list signup.
[2022/08/24 15:54:15] – SUCCESS: [MailChimp] Checking list name : Abonnés
[2022/08/24 15:54:15] – SUCCESS: [MailChimp] Found a match for the list name on MailChimp. List ID :0e9c92d4e7
[2022/08/24 15:54:15] – SUCCESS: [MailChimp] List ID to subscribe to:0e9c92d4e7
[2022/08/24 15:54:15] – SUCCESS: [MailChimp] Double opt-in is enabled. Setting status to: pending
[2022/08/24 15:54:15] – FAILURE: [MailChimp] Unable to subscribe.
[2022/08/24 15:54:15] – FAILURE: Error=400: The resource submitted could not be validated. For field-specific details, see the ‘errors’ array.
[2022/08/24 15:54:15] – SUCCESS: swpm_membership_level_changed action triggered. Member ID: 11, Old Level: 4, New Level: 2I tested with another API, this is not the problem because it finds the id list. You say that we have to make sure to remove any requirement of fields for the list in question. What does that mean ? Because we cannot modify any fields from the form.
Please help me !
August 24, 2022 at 2:17 pm #24304admin
KeymasterThis usually happens when you have requirements for certain fields for your MailChimp list. Edit the list and make sure there is no special custom fields or other requirements to subscribe to the list.
The mailchimp addon will only add the user to the list using the email address and the name value. If your mailchimp list has additional field requirements, the API call to add user to the list will fail.
September 22, 2024 at 10:28 pm #28854bobmclaren
ParticipantI too am receiving FAILURE: Error=400. I have attempted all the troubleshooting methods suggested previously and am still unable to resolve this issue. Perhaps you could recommend another suggestion? I would be very grateful.
Regards
BobSeptember 24, 2024 at 12:11 am #28855The Assurer
ModeratorAn Error 400 results from “malformed request, due to something the server considered to be a client error.”
Please go over the response from Admin, and ensure you are only trying to add the email address and the name; and that the list itself only requires those 2 fields.
September 26, 2024 at 1:08 am #28861bobmclaren
ParticipantThank you for the prompt response The Assurer, it is greatly appreciated. I will go over the response and double-check the Audience fields and *|MERGE|* tags setting.
-
AuthorPosts
- You must be logged in to reply to this topic.