Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MailChimp_Errors.log lacks adequate detail #785

Closed
bw1984 opened this issue Aug 29, 2018 · 6 comments
Closed

MailChimp_Errors.log lacks adequate detail #785

bw1984 opened this issue Aug 29, 2018 · 6 comments

Comments

@bw1984
Copy link

bw1984 commented Aug 29, 2018

I am trying to troubleshoot an issue with the module (data sync continuously fails) and my error log contains lots of lines which look like this;

2018-08-29T08:55:09+00:00 DEBUG (7): Invalid Resource : The resource submitted could not be validated. For field-specific details, see the 'errors' array.
2018-08-29T09:00:15+00:00 DEBUG (7): Invalid Resource : The resource submitted could not be validated. For field-specific details, see the 'errors' array.
2018-08-29T09:00:16+00:00 DEBUG (7): Invalid Resource : The resource submitted could not be validated. For field-specific details, see the 'errors' array.
2018-08-29T09:05:08+00:00 DEBUG (7): Invalid Resource : The resource submitted could not be validated. For field-specific details, see the 'errors' array.
2018-08-29T09:15:06+00:00 DEBUG (7): Invalid Resource : The resource submitted could not be validated. For field-specific details, see the 'errors' array.
2018-08-29T09:15:08+00:00 DEBUG (7): Invalid Resource : The resource submitted could not be validated. For field-specific details, see the 'errors' array.
2018-08-29T09:20:05+00:00 DEBUG (7): Invalid Resource : The resource submitted could not be validated. For field-specific details, see the 'errors' array.
2018-08-29T09:20:09+00:00 DEBUG (7): Invalid Resource : The resource submitted could not be validated. For field-specific details, see the 'errors' array.

any chance we could actually include the 'errors' array within the error log?

I assume its an issue with a specific record or field but dont have any further visibility

@Santiagoebizmarts
Copy link
Contributor

Hello @bw1984

Please contact our support at [email protected]
Remember to add your current module version and a screenshot of your current configuration in order to give us as much information as possible to start troubleshooting this problem.

Regards.

@bw1984
Copy link
Author

bw1984 commented Aug 29, 2018

I appreciate your help but this is still a bug. Surely you would want developers to be able to troubleshoot by themselves if possible rather than contact support? I would appreciate this issue being reopened until the bug is actually addressed. If the mailchimp API is sending back an error with the reply then why cant we have it written it to the log file? some other issues referencing the same error (with varying detail) #55 #245 and #348

Are you asking me to contact support to address the bug i have discovered where the full error isnt being written to the log? I am confused

@Santiagoebizmarts
Copy link
Contributor

Santiagoebizmarts commented Aug 29, 2018

Hello @bw1984

The error you are pasting is the response for every error from the API. It does not give any information relevant to the problem.
Also in some situations it is expected, for example when an email is fake.
Sometimes the detail of that errors are displayed in the error grid but it depends when it was triggered.
If we are able to find that out via our support then we will be able to solve it in here if it is a bug.

Kind Regards.

@bw1984
Copy link
Author

bw1984 commented Aug 29, 2018

oh i see. so even though the response says 'see the errors array', no errors array is sent with the response? so its a bug with mailchimp itself rather than the module? in the other issues i referenced the response looks like this;

{ "status_code": 400, "operation_id": "storeid-3_CUS_2017-06-22-17-05-13-77961000_2461", "response": { "type": "http:\/\/developer.mailchimp.com\/documentation\/mailchimp\/guides\/error-glossary\/", "title": "Invalid Resource", "status": 400, "detail": "The resource submitted could not be validated. For field-specific details, see the 'errors' array.", "instance": "", "errors": [ { "field": "address.province_code", "message": "Schema describes string, NULL found instead" } ] } },

which as you will notice contains my original error message in the 'detail' node, and also an errors array which contains useful data. am i going crazy or...? I just cant figure out how im going to troubleshoot this without an actual error which references something actionable

@Santiagoebizmarts
Copy link
Contributor

Hello @bw1984
You should be able to see those details in the error grid at Newsletter -> MailChimp -> MailChimp Errors.

Regards.

@bw1984
Copy link
Author

bw1984 commented Aug 29, 2018

oh dear, 5 million rows... thanks for the heads up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants