We have a Spring-boot application hosted on Google cloud console and we have mapped a custom domain for our API, the configuration was done using a dispatch file. The application was working fine, but from last week the API calls gets random CORS problem.
when the request for domain/get-customer API fails even now, but if the page reload it might work next time. it is really random CORS issue.
What can we do to resolve this issue?