-
Notifications
You must be signed in to change notification settings - Fork 25
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
Errors in Rollbar logs - Object Not Found Matching Id:2, MethodName:update, ParamCount:4 #478
Comments
Could it be that the campaign that is tracking links (with CID Ideally, you should disable link tracking (and unsubscribe links, see the note here) in Postmark, and let Campaign handle the link tracking. |
I disabled the double unsubs right from the beginning. But I am surprised I had Postmark link tracking on - I think I wanted to track opens (this is handy for various business reasons) - but just went ahead and re-enabled link tracking at the same time - will turn that off. Digging in deeper, it appears that these may in fact be related to client side JS errors (https://www.techighness.com/post/javascript-rollbar-unknown-unhandled-rejection-error-getting-reason-from-event/ and getsentry/sentry-javascript#3440 (comment)) - due to (possibly?) Outlook and email link scanning. It's possible they are triggered by a site timeout happening as I (sometimes?) see that in the logs before a run of these. (And those only really seem to happen when some sort of bot is aggressively scanning the site, so I am using Cloudflare to reduce that, sigh). I think these errors are a bit of a furphy, to be honest, as all the functionality seems to be working (tracking in Campaign (and Postmark actually!) - and unsubscribes etc. I'll keep an eye on it but can likely close this - but before that, one dumb question - how does one actually search for a campaign by ID? Am guessing there is no UI way, and I have to do that in code? |
...while I have you, should I be actually seeing those 1-click unsubscribe things in Google? I kind of expected to, per the screenshots I've seen (e.g. your article), but as yet I am not seeing them: If I view the email source in gmail (web), I can see the headers so I presume everything is technically ok:
...but seems odd that it's not showing up in Google's own email... |
Yeah, I wouldn’t worry about those errors, and your explanation about email clients scanning links sounds feasible.
Campaigns are element types, so you can search as with any other element types using Twig or PHP. Or, do you mean in the CP? If so, then the UI is controlled by Craft, so whatever you can do with entries, you can do with campaigns.
Yes, this is how it should appear in GMail. |
I did indeed mean the CP. (I find it's a common irritant with Craft, trying to find things by something like an ID, vs a text/title search, especially when digging in to problems. One doesn't always have code tools/dev envs to hand and given an ID it would be handy to be able to get a clue as to which specific things it refers to without having to make a template or whatever to do it). Hmm, I am definitely not seeing that Unsubscribe link/text in Gmail, but I can definitely see the headers. Apparently the 'Unsubscribe' thing shows only after a while once Google assesses you're not using it to insert dodgy/tracking links (https://support.google.com/mail/thread/49653586?hl=en&msgid=49801705) ...however, from what I read, there should at least always be an unsubscribe in the toggle menu next to 'To Me' apparently, and I am also not seeing that: But perhaps that is wrong - maybe it also doesn't appear there sue to reputation? Google themselves don't seem clear on this. I have checked and SPF, DKIM, DMARC are all good, with Google Postmaster's tools the domain is verified and the spam rate is 0.1% or less across the longest period they show. Anyway, I can't see any issues in the headers, the email did not go to spam, and I can't think of anything else to check or do?? As usual with Google things, it's frustratingly opaque. |
(Indeed every metric in all of Postmaster tools is looking 100% good) |
Sounds good, marking this complete. |
Support Request
Hi Ben
Am seeing some of these pop out, but can't work out why or what they relate to - but seems to be happening with each send-out, at least a few times. No real idea how to begin debugging this one!
Error showing in Rollbar:
(unknown): "Object Not Found Matching Id:2, MethodName:update, ParamCount:4"
The URL:
https://imagescience.com.au/actions/campaign/t/click?cid=d8fcdf3be9c022eIT&sid=f9995011cb7e9dvbb&lid=y999501ea4dcbfkub
(I can't immediately work out what each of those params relate to and it's all a bit complicated as the actual URLs are wrapped with Postmark tracking, e.g.
https://click.pstmrk.it/3s/imagescience.com.au%2Factions%2Fcampaign%2Ft%2Fclick%3Fcid%3Dc5e9fd2003bb51T8X%26sid%3Ds6662788ba4d6ciao%26lid%3Dl666278df1dbe8xxp/zSYa/etS1AQ/AQ/fe2f71f7-25c0-470sdf8-80a2-0dc4259e2145/3/4jY16x
Stack Trace from manually hitting that URL:
Plugin Version
2.15.3
The text was updated successfully, but these errors were encountered: