I’m trying to convert DWF to DXF using Curl on https://api.aspose.cloud/v3.0/cad/Convert?outputFormat=DXF but keep getting error:
Operation Failed. The authorization data is incorrect.
How do I fix this issue?
I’m trying to convert DWF to DXF using Curl on https://api.aspose.cloud/v3.0/cad/Convert?outputFormat=DXF but keep getting error:
Operation Failed. The authorization data is incorrect.
How do I fix this issue?
Hi,
Is there an update on this?
I’m still getting the same error. This is the curl command I’m using
curl -X POST “https://api.aspose.cloud/v3.0/cad/Convert?outputFormat=DXF” -H “accept: application/json” -H “Authorization: Bearer ey…5w” -H “Content-Type: multipart/form-data” -H “x-aspose-client: Containerize.Swagger” -F “drawing”=“file.dwf”
@yiliu77,
could you please check if Bearer token generated from ‘https://id.aspose.cloud/connect/token’ resolves the issue?
Hey that resolved one of the issues. Now I’m getting an internal server error.
I’ve also tried the following code which also resulted in an internal server error
from asposecadcloud import CadApi
from asposecadcloud.models.requests import ConvertRequest
cad_api = CadApi(‘’, ‘’)
request = ConvertRequest(“floor.dwf”, “dxf”)
cad_api.convert(request)
See https://download.autodesk.com/us/samplefiles/acad/blocks_and_tables.dwf.
This is the error I keep seeing: (‘500 Error connecting to the API https://api.aspose.cloud/v3.0/cad/Convert?outputFormat=dxf; Message: Internal Server Error’, 500, None)
@yiliu77,
I can confirm the issue with this file, unfortunately, we have created CADCLOUD-512 to investigate and fix it.