Convert AutoCAD to Photoshop in C# Using Aspose.CAD REST API Throwing Not Found Error

    I get an error of "Not Found" when ı use GetDrawingSaveAsRequest method.
    File path and file name is correct
        var getSaveRequest = new GetDrawingSaveAsRequest((storeID.ToString()+"_"+ (db.PSD_Files.Max(x => x.PSD_ID) + 1).ToString()),"psd",context.Server.MapPath("app\\Psd_Files\\"), context.Server.MapPath(psdFileName + ".psd"));

@enesakin

The GetDrawingSaveAs API method is working fine on my end. Please note that the API converts supported files from cloud storage, so please double check the file path/availability in your cloud storage; it will resolve the issue.

CadApi cadApi = new CadApi(ClientSecret, ClientId);
            var name = "sample.dwg";
            var output_format = "png";
            var cloudFolder = "Temp";
            var outPath = "sample_cad.png";
            var storage = "MyDB_Storage";
            var request = new GetDrawingSaveAsRequest(name, output_format, cloudFolder, outPath, storage);
            cadApi.GetDrawingSaveAs(request);
  • The storage DWGStorage was not found or is not associated with the application. when ı use uploadFileToCloudStorage method.
    var cadApi = new Aspose.CAD.Cloud.Sdk.Api.CadApi(“appKey”, “appSid”);
    var putCreateRequest =
    new UploadFileRequest(fileName, File.OpenRead(dataFilePath), “DWGStorage”);
    cadApi.UploadFile(putCreateRequest);

@enesakin

Please double check the aspose.cloud dashboard for available storage names and pass the correct storage name in the API; it will resolve the issue.

I have pretty much the same issue:
image.png (117.2 KB)
image.png (35.4 KB)

What did I do wrong? Note that I also tried with that one as a storage name:
image.png (61.6 KB)

@Ancotech

We are investigating the issue and will update you accordingly.

@enesakin
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CADCLOUD-496

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.