Hi, I’m receiving this 400 error ```{ "error": "...
# support
a
Hi, I’m receiving this 400 error
Copy code
{
  "error": "TypeError: Cannot read properties of undefined (reading 'includes')"
}
while testing the live events from JS to GA4 (Hybrid mode). Can someone help on this?
Here is the payload:
Copy code
{
  "anonymousId": "c35dc76e-dc0f-4ed7-81aa-35cb173a6b94",
  "channel": "web",
  "context": {
    "app": {
      "name": "RudderLabs JavaScript SDK",
      "namespace": "com.rudderlabs.javascript",
      "version": "2.34.0"
    },
    "campaign": {},
    "library": {
      "name": "RudderLabs JavaScript SDK",
      "version": "2.34.0"
    },
    "locale": "en-US",
    "os": {
      "name": "",
      "version": ""
    },
    "page": {
      "initial_referrer": "$direct",
      "initial_referring_domain": "",
      "path": "/",
      "referrer": "$direct",
      "referring_domain": "",
      "search": "",
      "tab_url": "<https://integration.gridly.com/>",
      "title": "Gridly Integration",
      "url": "<https://integration.gridly.com/>"
    },
    "screen": {
      "density": 1.5,
      "height": 1440,
      "innerHeight": 1368,
      "innerWidth": 2560,
      "width": 2560
    },
    "sessionId": 1685945420420,
    "sessionStart": true,
    "traits": {
      "email": "<mailto:pvn@localizedirect.com|pvn@localizedirect.com>"
    },
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
  },
  "integrations": {
    "All": true
  },
  "messageId": "e4d730d3-f5f5-41e9-b11a-9f221f43133e",
  "name": "Gridly Integration",
  "originalTimestamp": "2023-06-05T06:10:21.267Z",
  "properties": {
    "initial_referrer": "$direct",
    "initial_referring_domain": "",
    "name": "Gridly Integration",
    "path": "/",
    "referrer": "$direct",
    "referring_domain": "",
    "search": "",
    "tab_url": "<https://integration.gridly.com/>",
    "title": "Gridly Integration",
    "url": "<https://integration.gridly.com/>"
  },
  "receivedAt": "2023-06-05T06:10:22.678Z",
  "request_ip": "118.69.225.75",
  "rudderId": "e6ccac48-5ceb-40f1-b8a5-e2c3d91f7011",
  "sentAt": "2023-06-05T06:10:21.278Z",
  "timestamp": "2023-06-05T06:10:22.667Z",
  "type": "page",
  "userId": "9554937896894464"
}
image.png
b
In case of hybrid mode,
page and identify
calls will be sent through device mode and
track and group
calls will be sent through cloud mode. your page calls will be going through device mode
👍 1
a
So I see in the docs that through device mode, I can view the events through DebugView, but I tried and did not see any events in my Debug View
b
it should be visible, can you refresh it or see if there are more then one devices detected