- Posts: 4
- Thank you received: 0
Users not being added to lists ERROR
1 Errors: Bad request (Your merge fields were invalid.) => min@gmtcj.com)
Our List in Mailchimp has following fields:
Email Address: EMAIL
First Name FNAME
Last Name LNAME
Date added (API) SIGNUPAPI
When I look at List in Joomla and look at merge fields I only see the Date added (API) field -
If I try to add a name field it says already exists in list?
Please Log in or Create an account to join the conversation.
Save failed with the following error: JM_BAD_REQUEST (The resource submitted could not be validated. For field-specific details, see the 'errors' array.)
Please Log in or Create an account to join the conversation.
That's a weird one. It shouldn't be the case obviously and I don't see anything wrong with the merge fields setup. The Date Added (API) field is created automatically as an invisible field to keep a record when and if the user was added through Joomlamailer.
The email and name fields are not shown in the interface because they are mandatory, always exist and shouldn't be altered through Joomlamailer. So that's normal behaviour that you wouldn't see them.
Regarding the error, can you please edit this file on your server: administrator/components/com_joomailermailchimpintegration/libraries/Mailchimp/JoomlamailerMailchimp.php
Modify line 17 where is says public $debug = false;
to:
public $debug = true;
Then try again to add a user to the list and check the file
administrator/components/com_joomailermailchimpintegration/libraries/Mailchimp/mc_api.log
At the end it will show ".... Response:" and there will be the error message and details.
Let me know what it says in this line.
Set debug to false again right away as the log file grows quickly and might slow down your system after a while.
Please Log in or Create an account to join the conversation.
thanks for quick response much appreciated - output as follows looks like date issue?
Response: {"type":" mailchimp.com/developer/marketing/docs/e...s/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"c926d017-8009-4eb0-865a-94de611b8980","errors":[{"field":"SIGNUPAPI","message":"Please enter the date"}]}
Please Log in or Create an account to join the conversation.
Thanks for reporting this issue and providing details. I managed to reproduce it and it was indeed an issue with the date format of the SIGNUPAPI merge field. I have release a new version just now, which also includes a fix for this issue.
The new version is fully compatible with Joomla 5 and no longer requires the compatibility plugin. This means almost every single file had to be modified. If you come across anything that doesn't work or shows errors let me know!
Get the new version here: www.joomlamailer.com/downloads
Best regards,
Pete
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Best regards,
Pete
Please Log in or Create an account to join the conversation.
joomlamailer uses cookies!
This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. We are not using cookies for marketing purposes. For more information visit our privacy policy
Joomlamailer.com is not affiliated with or endorsed by The Joomla! Project™, Open Source Matters, Inc. or Intuit Mailchimp.
Any products and services provided through this site are not supported or warrantied by The Joomla! Project, Open Source Matters, Inc. or Intuit Mailchimp.
Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.
Mailchimp® is a registered trademark of The Rocket Science Group.