#cors problem although i setup my cors

24 messages · Page 1 of 1 (latest)

ionic notch
#

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

zinc mapleBOT
#

Project ID: c2a7060e-f836-4d7f-9151-c2711e0b7285

ionic notch
#

c2a7060e-f836-4d7f-9151-c2711e0b7285

honest bridge
#

can you link to the frontend domain please?

ionic notch
#

i also sent you the user credentials

#

plus files to test

#

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

#

have you tested any response please ?

#

index-DT_c3HLj.js:25

   POST 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 ?

honest bridge
#

please do not dm people without asking - #🛂|readme #5

ionic notch
#

sorry i did not know that

honest bridge
#

please send test credentials here

ionic notch
#

please use

#

any response

#

please fix this problem from railway.app its urgent

honest bridge
#

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

ionic notch
#

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

honest bridge
#

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

ionic notch
#

the img of the other person

#

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

honest bridge
#

that issue would not have anything to do with yours

ionic notch
#

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