Skip to content

Failed to parse org auth token {token} #1765

@levani

Description

@levani

Environment

cli version: 2.20.7
macOS 14.0

Steps to Reproduce

I have created a self hosted version of sentry and trying to use it on my react native app. The auth token that sentry generates, has sntrys_XXXXX format. When I set this value in sentry.properties, in auth.token field and try to build the app I'm getting an error message that the token is not parsed properly.

Failed to parse org auth token {token}

This error only goes away if I remove the underscore character, but then the auth token becomes invalid and source map files aren't uploaded!

This works fine for android but fails on ios for some reason.

Expected/Actual Result

Source maps should be uploaded on self hosted version of sentry.

Logs

Failed to parse org auth token {token} is the only error message I can see in logs.

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions