-
-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS] Upload Debug Symbols Sentry - ERROR (invalid URL and invalid TOKEN) #3085
Comments
Hi, The This seems like you are using the wrong auth token. Here are steps on how to create the correct auth token. |
Hi, i'm used this documentation And I also want to point out that what you wrote about the token, I could think the same, but then why does it work for Android? |
I see, you mentioned Can you try this with the latest SDK version? If not can you try this: https://docs.sentry.io/platforms/react-native/troubleshooting#set-up-skd-v4-with-react-native-069-or-higher If you still run into the same issue, can you add
|
I tried updating This is what my sentry.properties for android looks like:
And it works for android For iOS, I have exactly the same file, but it swears that the I’ll add one more detail, when I was logging into the cli, I had to add
on the command line, and only in this case I could go through the login, otherwise I was faced with approximately the same error as now on iOS. |
@whyamsx Could you share how does your @kamilogorek Since this is related to the Looks like source maps upload with the config but symbols do not. Probably related to this command:
|
[iOS] Upload Debug Symbols to Sentry (Build Phase):
|
This URL is incorrect. We do not support Sentry being put under non-root path. As for why it worked for Android, my guess is that it was just never picked up properly 👀 |
@kamilogorek Thanks for the details. @whyamsx Were you able to solve this? |
Hello, thanks! I realized my main mistake, it was that I integrated Sentry using |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: 4.0.0
react-native
version: 0.71.4Are you using Expo?
Are you using sentry.io or on-premise?
If you are using sentry.io, please post a link to your issue so we can take a look:
[Link to issue]
Configuration:
(
@sentry/react-native
)I have following issue:
I followed all the installation steps in the documentation and even automatically implemented everything through the cli, but after trying to run the iOS project, I get an error saying that my DSN cannot be the root link for Sentry, I read about this in other Issues and everyone writes that you need to change the
default.url
to a regular Sentry domain, but then I get another problem, with such a link, the token does not fit in the url, because it was made exactly for the DSN that was specified there (inios/sentry.properties
), and how should I be? I've been put into despairSteps to reproduce:
Just install according to the documentation 🤷♂️
Actual result:
Doesn't accept default.url with my DSN, otherwise following community advice it accepts default.url but doesn't accept token that is issued specifically for my DSN.
Expected result:
I just want to run a working Sentry on iOS.
The text was updated successfully, but these errors were encountered: