APS Vault API folder is missing

APS Vault API folder is missing

esimers
Enthusiast Enthusiast
427 Views
5 Replies
Message 1 of 6

APS Vault API folder is missing

esimers
Enthusiast
Enthusiast

So I'm basically trying to make a web based viewer that I can select a file within our Vault using the Vault gateway, with is already set and it seems to fine.  The issue is with my lack of code understanding I'm confused at best.  All I want is to make markups easy on the shop floor, send them to the engineering team for ECO process.  This honestly should work out of the box with Vault, but I'll fight that battle another day.  I have the viewer part working fine.  I just can't hook to our Vault to list the files/folders

So i keep getting 404 errors not found when trying to even just do a powershell Invoke-WebRequest 

PS C:\Windows\system32> Invoke-WebRequest -Uri "https://NOT___REALGATEWAYURL.autodesk.com/AutodeskDM/Services/api/vault/v2/openapi-spec.yml" `
>>     -Method Get `
>>     -Headers @{ Accept = "application/json" } `
>>
Invoke-WebRequest : HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.Most likely causes:
The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.
 Things you can try:
Create the content on the Web server.
Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about
creating a tracing rule for failed requests, click here.
 Detailed Error Information:
Module   IIS Web Core
Notification   MapRequestHandler
Handler   StaticFile
Error Code   0x80070002
Requested URL   http://localhost:80/AutodeskDM/Services/api/vault/v2/openapi-spec.yml
Physical Path   C:\Program Files\Autodesk\Vault Server 2025\Server\Web\Services\api\vault\v2\openapi-spec.yml
Logon Method   Anonymous
Logon User   Anonymous
 More Information:
This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.
View more information »
At line:1 char:1
+ Invoke-WebRequest -Uri "https://NOT__REAL___GATEWAY.autodesk.com/AutodeskDM/S ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
PS C:\Windows\system32>

 

so like finally I just went to where the folder is supposed to be because it keeps trying to redirect to localhost and that folder is very much missing.  I have Vault 25 server running.

esimers_0-1746734660716.png


I'm seriously going crazy.  I'm so new to Dev work, and I feel like a total looser for not getting this already.  

Seems Autodesk API SDK are so hard to deal with, and there's not a lot of experts out there.  Please assist, point me somewhere to something that works.  I can't be the only one who's asked for this process.  And no, we won't buy fusion manage, that came from the top.  We have the right tools, they just need to function proper.

 

 

 

0 Likes
428 Views
5 Replies
Replies (5)
Message 2 of 6

Nick_Hall
Collaborator
Collaborator

Hi

Whoops - I answered the wrong question here, sorry. So I've deleted my answer

 

Nick

0 Likes
Message 3 of 6

esimers
Enthusiast
Enthusiast

it's ok do you know anything about my issue?

0 Likes
Message 4 of 6

olegd.prod
Autodesk
Autodesk
Are you on Vault 2025.2 or later ?


https://aps.autodesk.com/blog/become-early-adopter-new-vault-data-apis
We are excited to introduce the new Vault Data APIs. These REST-ful APIs enable data extensibility from Vault and is now available in the Vault 2025.2 release.

0 Likes
Message 5 of 6

esimers
Enthusiast
Enthusiast

well. apparently we are still on the OG 2025 install.  So is that why?

 

I've been a bit apprehensive of updating the server.  I'm new to the IT realm, and Dev, but at some point I must jump in the deep waters.

0 Likes
Message 6 of 6

olegd.prod
Autodesk
Autodesk
Yes, you need 2025.2 or later server.
And the water is nice and warm - jump in ! 😉
0 Likes