getsentry / sentry-cli

A command line utility to work with Sentry.
https://docs.sentry.io/cli/
BSD 3-Clause "New" or "Revised" License
905 stars 222 forks source link

Upload Debug Symbols to Sentry failed, possible due to uppercase letter in org name #1827

Open hannojg opened 12 months ago

hannojg commented 12 months ago

Environment

CLI:2.17.5 OS: MacOS 14.0

Steps to Reproduce

Quick repo:

Extensive repo:

The api above is what the sentry-cli is trying to call when it executes the Upload Debug Symbols to Sentry step, when running:

sentry-cli debug-files upload

So you could reproduce by also setting up a iOS project and try to build it.

Expected/Actual Result

Expected: You get a 200 response

Actual: You get a 404 response

This post suggests that its due to the uppercase letter in the org name: https://forum.sentry.io/t/404-while-uploading-dsym-in-onpremise-setup/6217/2

Logs

  INFO    2023-11-20 05:48:07.750362 -08:00 Loaded file referenced by SENTRY_PROPERTIES (sentry.properties)
  DEBUG   2023-11-20 05:48:07.750970 -08:00 sentry-cli version: 2.17.5, platform: "darwin", architecture: "arm64"
  INFO    2023-11-20 05:48:07.750981 -08:00 sentry-cli was invoked with the following command line: "/Users/expo/workingdir/build/node_modules/@sentry/cli/sentry-cli" "debug-files" "upload" "--force-foreground" "" "/Users/expo/Library/Developer/Xcode/DerivedData/AppNameXXX-foxdvzlgthxrnwaolonlauxizwcu/Build/Intermediates.noindex/ArchiveIntermediates/AppNameXXX/BuildProductsPath/Debug-iphoneos"
  INFO    2023-11-20 05:48:07.750987 -08:00 Issuing a command for Organization: org-Name-With-uppercase Project: react-native
  DEBUG   2023-11-20 05:48:07.752840 -08:00 request GET https://sentry.io/api/0/organizations/org-Name-With-uppercase/chunk-upload/
  DEBUG   2023-11-20 05:48:07.752848 -08:00 using token authentication
  DEBUG   2023-11-20 05:48:07.753152 -08:00 retry number 0, max retries: 0
  DEBUG   2023-11-20 05:48:07.810390 -08:00 > GET /api/0/organizations/org-Name-With-uppercase/chunk-upload/ HTTP/1.1
  DEBUG   2023-11-20 05:48:07.810407 -08:00 > Host: sentry.io
  DEBUG   2023-11-20 05:48:07.810410 -08:00 > Accept: */*
  DEBUG   2023-11-20 05:48:07.810412 -08:00 > Connection: TE
  DEBUG   2023-11-20 05:48:07.810414 -08:00 > TE: gzip
  DEBUG   2023-11-20 05:48:07.810416 -08:00 > User-Agent: sentry-cli/2.17.5
  DEBUG   2023-11-20 05:48:07.810620 -08:00 > Authorization: Bearer 6afb4376***
  DEBUG   2023-11-20 05:48:07.881726 -08:00 < HTTP/1.1 404 Not Found
  DEBUG   2023-11-20 05:48:07.881749 -08:00 < server: nginx
  DEBUG   2023-11-20 05:48:07.881753 -08:00 < date: Mon, 20 Nov 2023 13:48:07 GMT
  DEBUG   2023-11-20 05:48:07.881756 -08:00 < content-type: application/json
  DEBUG   2023-11-20 05:48:07.881759 -08:00 < Content-Length: 50
  DEBUG   2023-11-20 05:48:07.881763 -08:00 < allow: GET, POST, HEAD, OPTIONS
  DEBUG   2023-11-20 05:48:07.881765 -08:00 < access-control-allow-methods: GET, POST, HEAD, OPTIONS
  DEBUG   2023-11-20 05:48:07.881775 -08:00 < access-control-allow-headers: X-Sentry-Auth, X-Requested-With, Origin, Accept, Content-Type, Authentication, Authorization, Content-Encoding, sentry-trace, baggage, X-CSRFToken
  DEBUG   2023-11-20 05:48:07.881779 -08:00 < access-control-expose-headers: X-Sentry-Error, X-Sentry-Direct-Hit, X-Hits, X-Max-Hits, Endpoint, Retry-After, Link
  DEBUG   2023-11-20 05:48:07.881784 -08:00 < access-control-allow-origin: *
  DEBUG   2023-11-20 05:48:07.881785 -08:00 < x-sentry-rate-limit-remaining: 199
  DEBUG   2023-11-20 05:48:07.881787 -08:00 < x-sentry-rate-limit-limit: 200
  DEBUG   2023-11-20 05:48:07.881789 -08:00 < x-sentry-rate-limit-reset: 1700488088
  DEBUG   2023-11-20 05:48:07.881790 -08:00 < x-sentry-rate-limit-concurrentremaining: 199
  DEBUG   2023-11-20 05:48:07.881792 -08:00 < x-sentry-rate-limit-concurrentlimit: 200
  DEBUG   2023-11-20 05:48:07.881812 -08:00 < vary: Accept-Language, Cookie
  DEBUG   2023-11-20 05:48:07.881815 -08:00 < content-language: en
  DEBUG   2023-11-20 05:48:07.881818 -08:00 < x-frame-options: deny
  DEBUG   2023-11-20 05:48:07.881820 -08:00 < x-content-type-options: nosniff
  DEBUG   2023-11-20 05:48:07.881822 -08:00 < x-xss-protection: 1; mode=block
  DEBUG   2023-11-20 05:48:07.881826 -08:00 < content-security-policy: script-src 'self' 'unsafe-inline' 'report-sample' 'unsafe-eval' s1.sentry-cdn.com js.sentry-cdn.com browser.sentry-cdn.com statuspage-production.s3.amazonaws.com static.zdassets.com aui-cdn.atlassian.com connect-cdn.atl-paas.net js.stripe.com ssl.google-analytics.com 'strict-dynamic' cdn.pendo.io data.pendo.io pendo-io-static.storage.googleapis.com pendo-static-5634074999128064.storage.googleapis.com; default-src *; connect-src *; object-src 'self'; style-src * 'unsafe-inline'; font-src * data:; img-src * blob: data:; frame-ancestors 'self' *.sentry.io; base-uri 'none'; report-uri https://o1.ingest.sentry.io/api/54785/security/?sentry_key=f724a8a027db45f5b21507e7142ff78e&sentry_release=b94154c5346e6c63a28bde6faf23c470357dd85f
  DEBUG   2023-11-20 05:48:07.881834 -08:00 < x-envoy-attempt-count: 1
  DEBUG   2023-11-20 05:48:07.881836 -08:00 < x-envoy-upstream-service-time: 45
  DEBUG   2023-11-20 05:48:07.881837 -08:00 < x-served-by: getsentry-web-default-common-production-c95ff6d67-q8ssr
  DEBUG   2023-11-20 05:48:07.881841 -08:00 < x-served-by: frontend-default-5655cf57b8-5kj4l
  DEBUG   2023-11-20 05:48:07.881843 -08:00 < strict-transport-security: max-age=31536000; includeSubDomains; preload
  DEBUG   2023-11-20 05:48:07.881844 -08:00 < via: 1.1 google
  DEBUG   2023-11-20 05:48:07.881846 -08:00 < Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
  DEBUG   2023-11-20 05:48:07.881865 -08:00 response status: 404
> Found 14 debug information files
> Prepared debug information files for upload
  INFO    2023-11-20 05:48:09.331287 -08:00 Checking for missing debug information files: [
    HashedDifMatch {
        inner: DifMatch {
            name: "OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "44179fe2-79e4-3511-8668-a97b781829b1",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(44179fe279e435118668a97b781829b1),
                        ),
                        debug_id: DebugId {
                            uuid: "44179fe2-79e4-3511-8668-a97b781829b1",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Executable,
                        load_address: 0x100000000,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "2d9facf6fef37c36d36616bdb6531ba6bd44cf32" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "AppNameXXX.app/PlugIns/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "44179fe2-79e4-3511-8668-a97b781829b1",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(44179fe279e435118668a97b781829b1),
                        ),
                        debug_id: DebugId {
                            uuid: "44179fe2-79e4-3511-8668-a97b781829b1",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Executable,
                        load_address: 0x100000000,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "2d9facf6fef37c36d36616bdb6531ba6bd44cf32" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "AppNameXXX.app/AppNameXXX",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "64d6ff36-f18b-3b1c-a1ad-e0cdd42f0ceb",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(64d6ff36f18b3b1ca1ade0cdd42f0ceb),
                        ),
                        debug_id: DebugId {
                            uuid: "64d6ff36-f18b-3b1c-a1ad-e0cdd42f0ceb",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Executable,
                        load_address: 0x100000000,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "dda8592883e7a177e7e6a61876d3d1aed7cc15fb" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "XCFrameworkIntermediates/hermes-engine/Pre-built/hermes.framework/hermes",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "cf3fb7b9-a92e-31a8-b44f-3a08d561c32a",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(cf3fb7b9a92e31a8b44f3a08d561c32a),
                        ),
                        debug_id: DebugId {
                            uuid: "cf3fb7b9-a92e-31a8-b44f-3a08d561c32a",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Library,
                        load_address: 0x0,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "9cdf0bb7e2b8b8bb388863605817e305a6392ab1" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "XCFrameworkIntermediates/OneSignalXCFramework/OneSignalLocation/OneSignalLocation.framework/OneSignalLocation",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "042ac435-2450-3933-8ee0-f2a1ebe17ebf",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(042ac435245039338ee0f2a1ebe17ebf),
                        ),
                        debug_id: DebugId {
                            uuid: "042ac435-2450-3933-8ee0-f2a1ebe17ebf",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Library,
                        load_address: 0x0,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "63f9059d3a2b9eb90cffd24a47ab3ba6b86cf2fd" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "XCFrameworkIntermediates/OneSignalXCFramework/OneSignalNotifications/OneSignalNotifications.framework/OneSignalNotifications",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "e8a93ca3-e9f2-38ce-8515-c9f59f79b67e",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(e8a93ca3e9f238ce8515c9f59f79b67e),
                        ),
                        debug_id: DebugId {
                            uuid: "e8a93ca3-e9f2-38ce-8515-c9f59f79b67e",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Library,
                        load_address: 0x0,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "038bcc1bf456d6a22536e865b2ec2e489d11bf91" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "XCFrameworkIntermediates/OneSignalXCFramework/OneSignal/OneSignalFramework.framework/OneSignalFramework",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "7ffb8c3c-7dd7-3f0e-aeac-e93ed5137089",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(7ffb8c3c7dd73f0eaeace93ed5137089),
                        ),
                        debug_id: DebugId {
                            uuid: "7ffb8c3c-7dd7-3f0e-aeac-e93ed5137089",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Library,
                        load_address: 0x0,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "e39ade2181a0e872f0ddaf6f4af7aecfa562c9cd" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "XCFrameworkIntermediates/OneSignalXCFramework/OneSignalUser/OneSignalUser.framework/OneSignalUser",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "4e743539-f90a-3320-a868-31d63a6e2fcc",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(4e743539f90a3320a86831d63a6e2fcc),
                        ),
                        debug_id: DebugId {
                            uuid: "4e743539-f90a-3320-a868-31d63a6e2fcc",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Library,
                        load_address: 0x0,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "f6a270681cc08f692c96395417058627135c5c79" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "XCFrameworkIntermediates/OneSignalXCFramework/OneSignalOSCore/OneSignalOSCore.framework/OneSignalOSCore",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "2c299579-f2b8-3fe2-a530-cc2ac6c9cbb1",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(2c299579f2b83fe2a530cc2ac6c9cbb1),
                        ),
                        debug_id: DebugId {
                            uuid: "2c299579-f2b8-3fe2-a530-cc2ac6c9cbb1",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Library,
                        load_address: 0x0,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "4ff5ce98b0a53eee7d37830f584b52b29f8e021c" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "XCFrameworkIntermediates/OneSignalXCFramework/OneSignalExtension/OneSignalExtension.framework/OneSignalExtension",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "a82e6acc-7184-3bb7-a515-7034a0243bc6",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(a82e6acc71843bb7a5157034a0243bc6),
                        ),
                        debug_id: DebugId {
                            uuid: "a82e6acc-7184-3bb7-a515-7034a0243bc6",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Library,
                        load_address: 0x0,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "a0cc252490d3b66dc33adcd4ad503c2dc327f426" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "XCFrameworkIntermediates/OneSignalXCFramework/OneSignalInAppMessages/OneSignalInAppMessages.framework/OneSignalInAppMessages",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "da774972-0061-3c71-a081-8fbcbfad4ae9",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(da77497200613c71a0818fbcbfad4ae9),
                        ),
                        debug_id: DebugId {
                            uuid: "da774972-0061-3c71-a081-8fbcbfad4ae9",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Library,
                        load_address: 0x0,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "e2b84d9c14f9843a73bbaa14682040d73ce5b4f4" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "XCFrameworkIntermediates/OneSignalXCFramework/OneSignalCore/OneSignalCore.framework/OneSignalCore",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "c4666d6d-2422-3e8a-9517-8a8a92f24de7",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(c4666d6d24223e8a95178a8a92f24de7),
                        ),
                        debug_id: DebugId {
                            uuid: "c4666d6d-2422-3e8a-9517-8a8a92f24de7",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Library,
                        load_address: 0x0,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "e6f3fb69fb4ada924589b7c2b4851cad911cef7a" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "XCFrameworkIntermediates/OneSignalXCFramework/OneSignalOutcomes/OneSignalOutcomes.framework/OneSignalOutcomes",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "f30d7da6-1fb4-3bbc-ba3a-a666f2fc8966",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(f30d7da61fb43bbcba3aa666f2fc8966),
                        ),
                        debug_id: DebugId {
                            uuid: "f30d7da6-1fb4-3bbc-ba3a-a666f2fc8966",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Library,
                        load_address: 0x0,
                        has_symbols: true,
                        has_debug_info: false,
                        has_unwind_info: true,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "c227d2e9cf77cf25d968340e54304b628d932187" },
    },
    HashedDifMatch {
        inner: DifMatch {
            name: "OneSignalNotificationServiceExtension.appex.dSYM/Contents/Resources/DWARF/OneSignalNotificationServiceExtension",
            format: Object(
                MachO,
            ),
            debug_id: Some(
                DebugId {
                    uuid: "44179fe2-79e4-3511-8668-a97b781829b1",
                    appendix: 0,
                },
            ),
            object: Some(
                MachO(
                    MachObject {
                        code_id: Some(
                            CodeId(44179fe279e435118668a97b781829b1),
                        ),
                        debug_id: DebugId {
                            uuid: "44179fe2-79e4-3511-8668-a97b781829b1",
                            appendix: 0,
                        },
                        arch: Arm64,
                        kind: Debug,
                        load_address: 0x100000000,
                        has_symbols: true,
                        has_debug_info: true,
                        has_unwind_info: false,
                        is_malformed: false,
                    },
                ),
            ),
        },
        checksum: Digest { "2ba597bf8dd9ff53cf9e34616c732b2b2ab6ee63" },
    },
]
  DEBUG   2023-11-20 05:48:09.332301 -08:00 request GET https://sentry.io/api/0/projects/org-Name-With-uppercase/react-native/files/dsyms/unknown/?checksums=2d9facf6fef37c36d36616bdb6531ba6bd44cf32&checksums=2d9facf6fef37c36d36616bdb6531ba6bd44cf32&checksums=dda8592883e7a177e7e6a61876d3d1aed7cc15fb&checksums=9cdf0bb7e2b8b8bb388863605817e305a6392ab1&checksums=63f9059d3a2b9eb90cffd24a47ab3ba6b86cf2fd&checksums=038bcc1bf456d6a22536e865b2ec2e489d11bf91&checksums=e39ade2181a0e872f0ddaf6f4af7aecfa562c9cd&checksums=f6a270681cc08f692c96395417058627135c5c79&checksums=4ff5ce98b0a53eee7d37830f584b52b29f8e021c&checksums=a0cc252490d3b66dc33adcd4ad503c2dc327f426&checksums=e2b84d9c14f9843a73bbaa14682040d73ce5b4f4&checksums=e6f3fb69fb4ada924589b7c2b4851cad911cef7a&checksums=c227d2e9cf77cf25d968340e54304b628d932187&checksums=2ba597bf8dd9ff53cf9e34616c732b2b2ab6ee63
  DEBUG   2023-11-20 05:48:09.332307 -08:00 using token authentication
  DEBUG   2023-11-20 05:48:09.332310 -08:00 retry number 0, max retries: 0
  DEBUG   2023-11-20 05:48:09.332429 -08:00 > GET /api/0/projects/org-Name-With-uppercase/react-native/files/dsyms/unknown/?checksums=2d9facf6fef37c36d36616bdb6531ba6bd44cf32&checksums=2d9facf6fef37c36d36616bdb6531ba6bd44cf32&checksums=dda8592883e7a177e7e6a61876d3d1aed7cc15fb&checksums=9cdf0bb7e2b8b8bb388863605817e305a6392ab1&checksums=63f9059d3a2b9eb90cffd24a47ab3ba6b86cf2fd&checksums=038bcc1bf456d6a22536e865b2ec2e489d11bf91&checksums=e39ade2181a0e872f0ddaf6f4af7aecfa562c9cd&checksums=f6a270681cc08f692c96395417058627135c5c79&checksums=4ff5ce98b0a53eee7d37830f584b52b29f8e021c&checksums=a0cc252490d3b66dc33adcd4ad503c2dc327f426&checksums=e2b84d9c14f9843a73bbaa14682040d73ce5b4f4&checksums=e6f3fb69fb4ada924589b7c2b4851cad911cef7a&checksums=c227d2e9cf77cf25d968340e54304b628d932187&checksums=2ba597bf8dd9ff53cf9e34616c732b2b2ab6ee63 HTTP/1.1
  DEBUG   2023-11-20 05:48:09.332433 -08:00 > Host: sentry.io
  DEBUG   2023-11-20 05:48:09.332435 -08:00 > Accept: */*
  DEBUG   2023-11-20 05:48:09.332445 -08:00 > Connection: TE
  DEBUG   2023-11-20 05:48:09.332447 -08:00 > TE: gzip
  DEBUG   2023-11-20 05:48:09.332448 -08:00 > User-Agent: sentry-cli/2.17.5
  DEBUG   2023-11-20 05:48:09.332463 -08:00 > Authorization: Bearer 6afb4376***
  DEBUG   2023-11-20 05:48:09.426517 -08:00 < HTTP/1.1 404 Not Found
  DEBUG   2023-11-20 05:48:09.426535 -08:00 < server: nginx
  DEBUG   2023-11-20 05:48:09.426540 -08:00 < date: Mon, 20 Nov 2023 13:48:09 GMT
  DEBUG   2023-11-20 05:48:09.426544 -08:00 < content-type: application/json
  DEBUG   2023-11-20 05:48:09.426546 -08:00 < Content-Length: 50
  DEBUG   2023-11-20 05:48:09.426550 -08:00 < allow: GET, HEAD, OPTIONS
  DEBUG   2023-11-20 05:48:09.426552 -08:00 < access-control-allow-methods: GET, HEAD, OPTIONS
  DEBUG   2023-11-20 05:48:09.426557 -08:00 < access-control-allow-headers: X-Sentry-Auth, X-Requested-With, Origin, Accept, Content-Type, Authentication, Authorization, Content-Encoding, sentry-trace, baggage, X-CSRFToken
  DEBUG   2023-11-20 05:48:09.426561 -08:00 < access-control-expose-headers: X-Sentry-Error, X-Sentry-Direct-Hit, X-Hits, X-Max-Hits, Endpoint, Retry-After, Link
  DEBUG   2023-11-20 05:48:09.426569 -08:00 < access-control-allow-origin: *
  DEBUG   2023-11-20 05:48:09.426571 -08:00 < x-sentry-rate-limit-remaining: 39
  DEBUG   2023-11-20 05:48:09.426573 -08:00 < x-sentry-rate-limit-limit: 40
  DEBUG   2023-11-20 05:48:09.426575 -08:00 < x-sentry-rate-limit-reset: 1700488090
  DEBUG   2023-11-20 05:48:09.426576 -08:00 < x-sentry-rate-limit-concurrentremaining: 24
  DEBUG   2023-11-20 05:48:09.426578 -08:00 < x-sentry-rate-limit-concurrentlimit: 25
  DEBUG   2023-11-20 05:48:09.426580 -08:00 < vary: Accept-Language, Cookie
  DEBUG   2023-11-20 05:48:09.426581 -08:00 < content-language: en
  DEBUG   2023-11-20 05:48:09.426584 -08:00 < x-frame-options: deny
  DEBUG   2023-11-20 05:48:09.426585 -08:00 < x-content-type-options: nosniff
  DEBUG   2023-11-20 05:48:09.426587 -08:00 < x-xss-protection: 1; mode=block
  DEBUG   2023-11-20 05:48:09.426610 -08:00 < content-security-policy: default-src *; script-src 'self' 'unsafe-inline' 'report-sample' 'unsafe-eval' s1.sentry-cdn.com js.sentry-cdn.com browser.sentry-cdn.com statuspage-production.s3.amazonaws.com static.zdassets.com aui-cdn.atlassian.com connect-cdn.atl-paas.net js.stripe.com ssl.google-analytics.com 'strict-dynamic' cdn.pendo.io data.pendo.io pendo-io-static.storage.googleapis.com pendo-static-5634074999128064.storage.googleapis.com; object-src 'self'; connect-src *; style-src * 'unsafe-inline'; frame-ancestors 'self' *.sentry.io; base-uri 'none'; img-src * blob: data:; font-src * data:; report-uri https://o1.ingest.sentry.io/api/54785/security/?sentry_key=f724a8a027db45f5b21507e7142ff78e&sentry_release=b94154c5346e6c63a28bde6faf23c470357dd85f
  DEBUG   2023-11-20 05:48:09.426615 -08:00 < x-envoy-attempt-count: 1
  DEBUG   2023-11-20 05:48:09.426617 -08:00 < x-envoy-upstream-service-time: 66
  DEBUG   2023-11-20 05:48:09.426619 -08:00 < x-served-by: getsentry-web-default-common-production-c95ff6d67-kfrvb
  DEBUG   2023-11-20 05:48:09.426621 -08:00 < x-served-by: frontend-default-5655cf57b8-z6wvx
  DEBUG   2023-11-20 05:48:09.426623 -08:00 < strict-transport-security: max-age=31536000; includeSubDomains; preload
  DEBUG   2023-11-20 05:48:09.426625 -08:00 < via: 1.1 google
  DEBUG   2023-11-20 05:48:09.426627 -08:00 < Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
  DEBUG   2023-11-20 05:48:09.426648 -08:00 response status: 404
  DEBUG   2023-11-20 05:48:09.426654 -08:00 body: {"detail":"The requested resource does not exist"}
error: API request failed
  caused by: sentry reported an error: The requested resource does not exist (http status: 404)
  DEBUG   2023-11-20 05:48:09.430894 -08:00 skipping update nagger because session is not attended

Note: Also what's weird is that the API adds a /unknown path to the request URL. either that's a bug or a hidden API feature, not sure.

loewenheim commented 12 months ago

Hi, thank you for the report. Are you sure you're using the org slug and not the display name? I wouldn't expect an org slug to contain an uppercase letter. Bildschirmfoto 2023-11-23 um 12 36 32

hannojg commented 12 months ago

Hey, yeah we 100% used the org-slug. I have to ask the client but I assume the sentry account existed for a very long time (I guess nowadays you can't create a org with an uppercase letter?)

// Edit: I remember the client saying that he thinks the org-slug was even auto suggested to them when creating sentry - maybe that's a hint, that a system somewhere allows suggestion for uppercased names?

hannojg commented 11 months ago

CleanShot 2023-11-27 at 07 57 14@2x

The org name has been renamed to circumvent this bug, but I just found proof in an email, it says "sail-Ok" which was the prior org name with a uppercase O

loewenheim commented 11 months ago

Interesting, I didn't think that was possible. I'll pass it along.

github-actions[bot] commented 11 months ago

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

hannojg commented 11 months ago

Not sure, but we might want to keep that open?

adinauer commented 11 months ago

Yes, let's keep this open. Maybe @loewenheim has an update once he's back.

github-actions[bot] commented 10 months ago

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

hannojg commented 10 months ago

Not stale <3

szokeasaurusrex commented 10 months ago

Thanks @hannojg, I have placed the issue on our backlog to ensure StaleBot doesn't touch it

zlanich commented 6 months ago

Hey all! I got this to work. I found that even though I already have the SENTRY_AUTH_TOKEN in my eas.json, I still had to add the SENTRY_AUTH_TOKEN as a secret in Expo's EAS Cloud Dashboard as a secret in order for this to work, so there seems to be an issue with some variables in eas.json not being used in the build proces.

I hope this helps.