CORS issue when trying to save force save a document in a docx file version to our custom backend

In my browser, getting this CORS issue from the server to my frontend , we also added our frontend domain to the cors allowed origin in default json and restarted the docker server but still facing the this CORS error

Can you please guide us with how to resolve this CORS issue

We want to send the in-editor docx content to our backend as .docx format to store it separately but we are unable to do it

We have tried adding our frontend url localhost:3000 to corsAllowedOrigins in the default.json file but it showed the same error

When we looked for localhost:8080/coauthoring/CommandService.ashx it returend {error:6}

WhatsApp Image 2025-06-23 at 22.42.17_d796ddcc

In our default.json

“services”: {
“CoAuthoring”: {
“http”: {
“allowedCorsOrigins”: [“http://localhost:3000”]
},

Hello,

There is no such parameter as allowedCorsOrigins in the Document Server configuration:

Browsers don’t handle CORS requests from localhost properly. Please avoid using localhost and use the server IP address or domain name instead.