Skip to content

Incorrect breadcrumbs generated by raven.js #3208

@mdamien

Description

@mdamien

After installing raven.js@3.0.4, it adds breadcrumbs data to the event.

But Sentry (8.4.0) is complaining that the breadcrumb is not valid: Discarded invalid value for parameter 'breadcrumbs'.

Here's the, redacted, value:

{
  "name": "breadcrumbs",
  "value": {
    "values": [
      {
        "category": "xhr",
        "timestamp": 1462974325.627,
        "type": "http",
        "data": {
          "url": "https://REDACTED_URL",
          "status_code": 200,
          "method": "GET"
        }
      },
      {
        "category": "xhr",
        "timestamp": 1462974327.184,
        "type": "http",
        "data": {
          "url": "REDACTED_URL",
          "status_code": 200,
          "method": "GET"
        }
      },
      {
        "category": "xhr",
        "timestamp": 1462974327.949,
        "type": "http",
        "data": {
          "url": "REDACTED_URL",
          "status_code": 200,
          "method": "GET"
        }
      },
      {
        "category": "xhr",
        "timestamp": 1462974328.276,
        "type": "http",
        "data": {
          "url": "REDACTED_URL",
          "status_code": 200,
          "method": "GET"
        }
      },
      {
        "category": "xhr",
        "timestamp": 1462974329.132,
        "type": "http",
        "data": {
          "url": "REDACTED_URL",
          "status_code": 200,
          "method": "GET"
        }
      },
      {
        "category": "xhr",
        "timestamp": 1462974329.318,
        "type": "http",
        "data": {
          "url": REDACTED_URL",
          "status_code": 200,
          "method": "GET"
        }
      },
      {
        "category": "xhr",
        "timestamp": 1462974330.102,
        "type": "http",
        "data": {
          "url": "REDACTED_URL",
          "status_code": 200,
          "method": "GET"
        }
      },
      {
        "category": "xhr",
        "timestamp": 1462974331.275,
        "type": "http",
        "data": {
          "url": "REDACTED_URL",
          "status_code": 200,
          "method": "GET"
        }
      },
      {
        "category": "xhr",
        "timestamp": 1462974331.314,
        "type": "http",
        "data": {
          "url": "REDACTED_URL",
          "status_code": 200,
          "method": "GET"
        }
      },
      {
        "category": "xhr",
        "timestamp": 1462974331.36,
        "type": "http",
        "data": {
          "url": "REDACTED_URL",
          "status_code": 200,
          "method": "GET"
        }
      },
      {
        "category": "navigation",
        "timestamp": 1462974346.181,
        "data": {
          "to": "REDACTED_URL",
          "from": "REDACTED_URL"
        }
      },
      {
        "category": "ui.click",
        "timestamp": 1462974348.562,
        "message": "div > div._menu.sub-menu > a.button.active"
      },
      {
        "category": "xhr",
        "timestamp": 1462974348.567,
        "type": "http",
        "data": {
          "url": "REDACTED_URL",
          "status_code": 200,
          "method": "GET"
        }
      }
    ]
  }
}

What's wrong the value generated by raven ? Is it a problem on raven or on sentry ? (because it seems to fit the Sentry API)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions