cors problem although i setup my cors
Anonymous
TRIALOP

2 years 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

27 Replies

Anonymous
TRIALOP

2 years ago

c2a7060e-f836-4d7f-9151-c2711e0b7285


2 years ago

can you link to the frontend domain please?


Anonymous
TRIALOP

2 years ago

https://exam-ui.up.railway.app/ here is the link of the ui


Anonymous
TRIALOP

2 years ago

i also sent you the user credentials


Anonymous
TRIALOP

2 years ago

plus files to test


Anonymous
TRIALOP

2 years ago

the error is weird because it only happens when i am using specific route but is good when i am using some other routes ?

1268696084708851700


Anonymous
TRIALOP

2 years ago

have you tested any response please ?


Anonymous
TRIALOP

2 years ago

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)

Anonymous
TRIALOP

2 years ago

this error is only happening when i deploy it on railway when its localhost everything works why ?


2 years ago

please do not dm people without asking - <#727685388893945877> #5


Anonymous
TRIALOP

2 years ago

sorry i did not know that


2 years ago

please send test credentials here


Anonymous
TRIALOP

2 years ago

i already sent you user and the files to test


Anonymous
TRIALOP

2 years ago

user:admin pass:Moha789@


Anonymous
TRIALOP

2 years ago

files to test

1268700232313602000
1268700232783499500
1268700233223770000
1268700231780794458


Anonymous
TRIALOP

2 years ago

book to use for exam generation

1268700376627023912


Anonymous
TRIALOP

2 years ago

please use


Anonymous
TRIALOP

2 years ago

any response


Anonymous
TRIALOP

2 years ago

please fix this problem from railway.app its urgent


2 years ago

for clarity, this would not be an issue with railway, this would be an issue with your app or it's configuration


Anonymous
TRIALOP

2 years ago

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


2 years 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


Anonymous
TRIALOP

2 years ago

the img of the other person

1268704600349741000


Anonymous
TRIALOP

2 years ago

i am thinking i am having his error is that my case or not


2 years ago

that issue would not have anything to do with yours


Anonymous
TRIALOP

2 years ago

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


2 years 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


Loading...