Forum Discussion

Jenli's avatar
Jenli
Creator I
6 years ago

Vault server URL error while uploading a file using my code. Thanks.

Hi Guys,

I use my code to upload a file into system by using "item1.attachPhysicalFile(filePath)", however I got the error as the screenshoot below, then it also said :
 Side Error" 2nd: "Failed to upload the files. Is the specified Vault Server URL: ""http://192.168.6.60/InnovatorServer/vault/vaultserver.aspx" " correct ?" 
 
It seems I did not make any changes of Vault settings. However, thanks in advance.  --Jen Li

9 Replies

  • asebastian's avatar
    asebastian
    Community Manager

    Hi Jenli,

    Can you confirm that you're able to upload a file manually?

    AJ

    • Jenli's avatar
      Jenli
      Creator I

      Hi AJ,

      Thank you for being here for our issue. For your question that I am able to upload to CAD File by using "Select New File" button on Manage file dialog with no problem. Please see the screenshot below.

      I also put the default Vault pattern information and VaultServerConfig.xml file that you may need as following below, I am confused about any problems with the settings over there. thanks.

      Best regards,

      Jen Li

      • asebastian's avatar
        asebastian
        Community Manager

        Hi Jen,

        Could you please post a segment of the code you're using to attempt to upload files? This will give us better insight into what is actually happening in your environment,

        AJ