Need dedicated support? Click here
Need dedicated support?
Click here

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.