CORS ERROR WHEN I TRY TO CONVERT A FILE

Greetings community,

I am currently facing an issue. When I try to make a conversation request, I run into a CORS validation problem.
On Postman, I can successfully initiate a conversation without this error, but not from my application.

Error: Access to XMLHttpRequest at ‘https://onlyoffice.mydomainname.fr/ConvertService.ashx’ from origin ‘http://localhost:8080’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Here are some relevant details about my setup:

Installation type: ONLYOFFICE Docs Developer Edition on Docker
Version: 7.3.0

Hello @djibril

As I stated in the error itself, your application need to use Access-Control-Allow-Origin header to allow such connection. More about it you can find here:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin

By the way, this version is already outdated and not supported. Consider updating to the actual version.

Hi,

Would this also required to be done in Docker and Apache ? Cause I have the same issue and it occurs using the Save Copy As function.

Currently my system is on docker with onlyoffice being hosted on Apache.

Hello @Mohman

Is your instance of Document Server integrated with any storage? Can you provide a demonstration of the issue for better visual reference?
Additionally, specify version of Document Server currently used.