You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make a personal project which has to receive 2 folders and merge them and return a zip file. The issue comes that the code is working perfectly but it simply does not send the response. When i try to see the response, not even errors(the ones i had to return caused by some issue) aren't sent to the client side. The unique one sent is related to CORS:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/merge_resource. (Reason: CORS request did not succeed). Status code: (null).
TypeError: NetworkError when attempting to fetch resource. <- sent by console.log
I already tried to search on internet but didn't find any solution for my problem. It might be a simple problem but me by myself can't find a solution for it.
This discussion was converted from issue #2799 on June 21, 2024 23:20.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to make a personal project which has to receive 2 folders and merge them and return a zip file. The issue comes that the code is working perfectly but it simply does not send the response. When i try to see the response, not even errors(the ones i had to return caused by some issue) aren't sent to the client side. The unique one sent is related to CORS:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/merge_resource. (Reason: CORS request did not succeed). Status code: (null).
TypeError: NetworkError when attempting to fetch resource. <- sent by console.log
I already tried to search on internet but didn't find any solution for my problem. It might be a simple problem but me by myself can't find a solution for it.
Browser used: Firefox 127.0
OS: Linux Mint 21.3
Beta Was this translation helpful? Give feedback.
All reactions