9 months ago
i am having problems with my project drf api + vue js frontend when i make request from frontend to api it gives me cors error
0 Replies
9 months ago
can you link to the frontend domain please?
https://exam-ui.up.railway.app/ here is the link of the ui
the error is weird because it only happens when i am using specific route but is good when i am using some other routes ?
index-DT_c3HLj.js:25
POST [https://exam-api.up.railway.app/correct/](https://exam-api.up.railway.app/correct/) net::ERR_FAILED 502 (Bad Gateway)
this error is only happening when i deploy it on railway when its localhost everything works why ?
9 months ago
please do not dm people without asking - <#727685388893945877> #5
9 months ago
please send test credentials here
files to test
book to use for exam generation
please fix this problem from railway.app its urgent
9 months ago
for clarity, this would not be an issue with railway, this would be an issue with your app or it's configuration
no i think its railway why ? because after minutes the error fades but after another minute its there i also searched the search bar of railway discord server and some one was having this same error like me
9 months ago
I assure you this is not an issue with railway, please look into your logs for clues as to why your app is returning incorrect status codes
9 months ago
that issue would not have anything to do with yours
why is then some of my routes work like log in signup but not other routes like correction if there was cors it shouldnot have worked all of them have you had this situation
9 months ago
cors is not the actual issue here, your backend is returning an error, please look into the logs of the backend service for clues as to what the issue could be