Skip to content

Issue: SyntaxError: Unexpected token 'G' when accessing Hotjar route #30

@kurybr

Description

@kurybr

Description

the route https://content.hotjar.io/?site_id=xxxxxxxx&gzip=1, I am encountering a SyntaxError indicating that the token 'G' is unexpected. This error occurs for only one specific user, and I am using the latest version of the library.

Error

SyntaxError: Unexpected token 'G', "GIF89a��"... is not valid JSON

Request Response

"GIF89a������!���,����D;"

The error occurs in the following part of the code, located in the file /modules.d7e8b7276297041c77dc.js:

us<400?r.isFunction(e.success)&&e.success(t.responseText&&JSON.parse(t.responseText),t):r.isFunction(e.error)&&e.error(t)},t.onerror=functio

Additional Notes

  • This problem occurs only for one specific user.
  • I suspect this might be related to some screen recording block that the user has enabled. Has there been similar cases before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions