react-typeform-embed icon indicating copy to clipboard operation
react-typeform-embed copied to clipboard

Handle Errors

Open JacopoBonta opened this issue 4 years ago • 5 comments

There are no error handlers like onError or something like this and when an error occurs, like this one:

Screenshot 2020-06-17 at 12 18 20

from my understanding, there is nothing one can do about it.

JacopoBonta avatar Jun 17 '20 10:06 JacopoBonta

Also - Seems to be making a request to admin.typeform.com, even though that is not the passed-in surveyUrl. Why is this making additional requests?

aloukianova-godaddy avatar Jun 19 '20 18:06 aloukianova-godaddy

Any update about this?

criestlav avatar Sep 29 '20 14:09 criestlav

Our Sentry is overflowing these errors. Any insights to handle this will be appreciated. Thanks

ankesh7 avatar Oct 14 '20 20:10 ankesh7

According to this issue: https://github.com/Typeform/embed/issues/83, this might be solved by upgrading @typeform/embed to latest version.

niklaslavrell avatar Nov 13 '20 09:11 niklaslavrell

I fixed mine with a little help from https://github.com/Typeform/embed. had the same error when with this code:

Screen Shot 2021-03-10 at 3 15 13 PM

Fixed it when I switched to using '@typeform/embed' in Screen Shot 2021-03-10 at 3 13 42 PM

elyxer avatar Mar 10 '21 07:03 elyxer