Unexpected error from Railway Proxy

i have my app deployed, when try to send any request by swagger any response from any endpoint return this msg: Unexpected error from Railway Proxy
Solution:
this doesnt seem like a message that railway is returning, looks like something your code is returning
Jump to solution
25 Replies
Percy
Percy2mo ago
Project ID: cbfab0cc-7fc8-413e-b097-4dedc90d4e49
blazeszombi
blazeszombi2mo ago
cbfab0cc-7fc8-413e-b097-4dedc90d4e49
Brody
Brody2mo ago
can you send a link to your docs so i could see this error for myself?
blazeszombi
blazeszombi2mo ago
https://backend-api-tpo-production.up.railway.app/swagger-ui/index.html#/users-controller/signIn this is the swagger when you try to create new user, the endpoint return this msg same happens with other
Brody
Brody2mo ago
okay ill try that now
Solution
Brody
Brody2mo ago
this doesnt seem like a message that railway is returning, looks like something your code is returning
blazeszombi
blazeszombi2mo ago
I understand, in that case I will check the code, maybe someone in the team modified something thanks for the help
Brody
Brody2mo ago
no problem, let me know if you need any more help but as it stands with just that as the error, there wouldn't be all that much i can help with
blazeszombi
blazeszombi2mo ago
you were right, it was a problem of our code, it was a wrong error catch, we were able to fix it, thank you very much!
Brody
Brody2mo ago
no problem!
Brody
Brody2mo ago
though I'm curious and if you don't mind telling, what did the "railway proxy" mean in that message?
blazeszombi
blazeszombi2mo ago
I'm not sure why the host returned that message, but when we tested locally our code returned a 403 because our identity provider returned an error that we were not taking into account, so the default error was a 403. can it be a default message when a response has no body? is a good question.
Brody
Brody2mo ago
not sure, maybe do a text search for that message in your project code? because if a response has no body railway is not going to be adding that message, I can promise you that much
blazeszombi
blazeszombi2mo ago
is a possibility, but when I search for that message it does not exist in our code.
blazeszombi
blazeszombi2mo ago
No description
Want results from more Discord servers?
Add your server