Sentry auth token help
Hey guys im having a small issue with sentry token when i try to push my project i get the following error in my code and that error crashes my whole app
Where do i provide the Auth token since the
.sentryclirc
is in the .gitingore
i have this setup right nowSolution:Jump to solution
after a quick Google - https://docs.sentry.io/cli/configuration/#to-authenticate-manually
15 Replies
Project ID:
51cb3e5e-013d-43eb-b545-600daa26b09f
51cb3e5e-013d-43eb-b545-600daa26b09f
can you provide it via an environment variable?
thats what i dont know
i cant seem to find anything on this
that's something you would have to consult the applicable documentation for
it wants sentry-cli login
but we dont have terminal access i think
please consult the applicable documentation on how you would provide the token in a docker environment without an interactive shell
Solution
after a quick Google - https://docs.sentry.io/cli/configuration/#to-authenticate-manually
how do i do this tho
in railway
service variables aka environment variables
but the sentry config is a whole file for itself
wait i think i got it
💀
have you read the docs section I linked?
yes
one sec i think i got it
AHAHAHAHA
NOT THE CAP EMOJI
it works
im a idiot
great!
New reply sent from Help Station thread:
@definewater How did you do it?You're seeing this because this thread has been automatically linked to the Help Station thread.