You will have to try to figure out if there is any other issue like data issue, configuration issue or anything else if it is not an actual CORS error. It takes a lot of patience and thorough thinking as to what the possible issue could be and try to fix it.
Hope you are able to figure out the issue and fix it