Skip to content

πŸ› sentry: Issue list not working with SaaS offeringΒ #6694

@timo-reymann

Description

@timo-reymann

Workspace

sentry

πŸ“œ Description

After configuring the Sentry plugin, the issue list for entities seems to be empty, when changing the time range it displays the error message:

TypeError: Cannot read properties of undefined (reading 'error')
    at https://backstage.instance/static/5408.eb5b6e3d.chunk.js:1:2869
    at Object.create (https://backstage.instance/static/5408.eb5b6e3d.chunk.js:9:549423)
    at https://backstage.instance/static/5408.eb5b6e3d.chunk.js:9:550495
    at https://backstage.instance/static/5408.eb5b6e3d.chunk.js:9:550930
    at https://backstage.instance/static/5408.eb5b6e3d.chunk.js:9:551325
    at W (https://backstage.instance/static/5408.eb5b6e3d.chunk.js:1:2945)
    at ad (https://backstage.instance/static/module-react-dom.f09873e1.js:1:58512)
    at i (https://backstage.instance/static/module-react-dom.f09873e1.js:1:119372)
    at oD (https://backstage.instance/static/module-react-dom.f09873e1.js:1:99049)
    at oR (https://backstage.instance/static/module-react-dom.f09873e1.js:1:98919)
    at ox (https://backstage.instance/static/module-react-dom.f09873e1.js:1:95690)
    at oz (https://backstage.instance/static/module-react-dom.f09873e1.js:1:96079)
    at r8 (https://backstage.instance/static/module-react-dom.f09873e1.js:1:44918)
    at https://backstage.instance/static/module-react-dom.f09873e1.js:1:93604

The following request to the backend for the entity does return results:

GET https://backstage.instance/api/proxy/sentry/api/0/projects/myOrgId/myProjectId/issues/?statsPeriod=24h
Content-Type: application/json

[
   {
        "id": "issueId",
        "shareId": null,
        "shortId": "PROJ-2F",
        "title": "AttributeError: module 'xx.__version__' has no attribute 'replace'",
        "culprit": "xx.markdown.table in add_row",
        "permalink": "https://xxx.sentry.io/issues/84581034/",
        "logger": null,
        "level": "warning",
        "status": "unresolved",
        "statusDetails": {},
        "substatus": "new",
        "isPublic": false,
        "platform": "python",
        "project": {
            "id": "xxx",
            "name": "xxx",
            "slug": "xxxx",
            "platform": "python"
        },
        "type": "error",
        "metadata": {
            "value": "module 'xxx.__version__' has no attribute 'replace'",
            "type": "AttributeError",
            "filename": "xxx/markdown/table.py",
            "function": "add_row",
            "in_app_frame_mix": "system-only",
            "sdk": {
                "name": "sentry.python",
                "name_normalized": "sentry.python"
            },
            "initial_priority": 50,
            "title": null
        },
        "numComments": 0,
        "assignedTo": null,
        "isBookmarked": false,
        "isSubscribed": false,
        "subscriptionDetails": null,
        "hasSeen": false,
        "annotations": [],
        "issueType": "error",
        "issueCategory": "error",
        "priority": "medium",
        "priorityLockedAt": null,
        "seerFixabilityScore": null,
        "seerAutofixLastTriggered": null,
        "isUnhandled": true,
        "count": "5",
        "userCount": 1,
        "firstSeen": "2025-12-22T17:29:54.362486Z",
        "lastSeen": "2025-12-22T17:37:15.553055Z",
        "stats": {
            "24h": [
                [
                    1766916000,
                    0
                ],
                [
                    1766919600,
                    0
                ],
                [
                    1766923200,
                    0
                ],
                [
                    1766926800,
                    0
                ],
                [
                    1766930400,
                    0
                ],
                [
                    1766934000,
                    0
                ],
                [
                    1766937600,
                    0
                ],
                [
                    1766941200,
                    0
                ],
                [
                    1766944800,
                    0
                ],
                [
                    1766948400,
                    0
                ],
                [
                    1766952000,
                    0
                ],
                [
                    1766955600,
                    0
                ],
                [
                    1766959200,
                    0
                ],
                [
                    1766962800,
                    0
                ],
                [
                    1766966400,
                    0
                ],
                [
                    1766970000,
                    0
                ],
                [
                    1766973600,
                    0
                ],
                [
                    1766977200,
                    0
                ],
                [
                    1766980800,
                    0
                ],
                [
                    1766984400,
                    0
                ],
                [
                    1766988000,
                    0
                ],
                [
                    1766991600,
                    0
                ],
                [
                    1766995200,
                    0
                ],
                [
                    1766998800,
                    0
                ]
            ]
        }
    },
    # and more ...
]

However the list stays empty

πŸ‘ Expected behavior

Issues load properly and on changing the time range it does not crash with an error message.

πŸ‘Ž Actual Behavior with Screenshots

Image Image

πŸ‘Ÿ Reproduction steps

  1. Set up sentry with SaaS offering following the onboarding guide
  2. Try to load issues for an entity using the sentry.io API

πŸ“ƒ Provide the context for the Bug.

Basically, makes the sentry plugin useless.

πŸ‘€ Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🏒 Have you read the Code of Conduct?

Are you willing to submit PR?

No, but I'm happy to collaborate on a PR with someone else

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions