APS Vault API folder is missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
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.