Skip to content

winget export error, no output json created #5984

@Duxchux

Description

@Duxchux

Relevant area(s)

WinGet CLI

Relevant command(s)

winget export

Brief description of your issue

winget export -o 'C:\Temp\Winget_Apps_List.json' --NoWarn --accept-source-agreements

An unexpected error occurred while executing the command:
Download request status is not success.
0x80190194 : Not found (404).

Note: json file does not get created.

Steps to reproduce

Opened up a terminal session as Administrator. Pasted in the winget export command. Error encountered.

Expected behavior

This command executes from a PowerShell script kicked off thru Task Scheduler. It has run flawlessly for about 1 1/2 years. Don't really know when it started producing this error but realized something was wrong when a new json file wasn't getting created.

Actual behavior

The command produces the error:
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190194 : Not found (404).

Environment

v1.12.440
Windows 11 Home

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-ExportIssue related to WinGet ExportIssue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions