ampproject / error-reporting

Contains production error tracking issues.
Apache License 2.0
2 stars 5 forks source link

🚨 Error: a.h.onResizeSuccess is not a function. (In 'a.h.onResizeSuccess()', 'a.h.onResizeSuccess' is undefined) #21

Open ampprojectbot opened 3 years ago

ampprojectbot commented 3 years ago

Details

Error report: link First seen: Nov 14, 2018 Frequency: ~ 4,201/day

Stacktrace

Error: a.h.onResizeSuccess is not a function. (In 'a.h.onResizeSuccess()', 'a.h.onResizeSuccess' is undefined)
    at extensions/amp-ad/0.1/amp-ad-xorigin-iframe-handler.js:458:12

Notes

@powerivq modified extensions/amp-ad/0.1/amp-ad-xorigin-iframe-handler.js:458-458 in #30323 (Sep 24, 2020)

Seen in:

/cc @ampproject/release-on-duty

rcebulko commented 3 years ago

/cc @ampproject/wg-ads-reviewers This showed a pretty recent spike: image Unclear if it's a change in AMP, something changed on the backend, or something entirely unrelated

jridgewell commented 3 years ago

@powerivq Can you take a look?

powerivq commented 3 years ago

Hi, @jridgewell @rcebulko

Can confirm there have not been recent changes on AMP side. Looking at some example pages found in the log, it appears that they all use doubleclick, which does not support context API, so this error is expected.

My theory is that some advertiser in Poland just copy and paste their ad creative from an amp-ad 3p vendor to doubleclick and didn't realize resize API is not available there.

rcebulko commented 3 years ago

Thanks for looking into this Shihua. Is this something we can preemptively catch/re-raise as a user error?