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

Error on handling "message" event, somehow connected with grecaptcha2 #500

ru-web-designer opened this Issue Aug 29, 2018 · 3 comments


None yet
3 participants

ru-web-designer commented Aug 29, 2018


Looks like if grecaptcha2 by Google is present on the same page with uploadcare widget, it causes uncaught TypeError.

uploadcare.full.min.js:17 Uncaught TypeError: Cannot read property 'type' of null
    at uploadcare.full.min.js:17
    at dispatch (uploadcare.full.min.js:11)
    at m.handle (uploadcare.full.min.js:10)


How to reproduce

Just put uploadcare-widget (lastes 2.x or 3.x, doesn't matter) and Grecaptcha2 ( on the same page. Uploadcare settings are:

  UPLOADCARE_PUBLIC_KEY = your_public_key;


TypeError itself. Reports in a console.

Potentially makes impossible to upload files, but this effect is kind of heisenbug.

Uploader dialog still opens and looks like its working proper way.


This comment has been minimized.


Zmoki commented Aug 30, 2018

@ru-web-designer thanks for the report! I'll try to reproduce that and return to you with an answer soon.

@Zmoki Zmoki assigned Zmoki and nd0ut and unassigned Zmoki Aug 30, 2018


This comment has been minimized.

ru-web-designer commented Aug 31, 2018

@Zmoki is this will be a fix for 3.x only, or for 2.x too?


This comment has been minimized.


nd0ut commented Aug 31, 2018

@ru-web-designer We'll fix v2 in the near time too.

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