Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export organization vault gives error 404 resource not found #3595

Closed
TimoVerbrugghe opened this issue Sep 22, 2022 · 2 comments
Closed

Export organization vault gives error 404 resource not found #3595

TimoVerbrugghe opened this issue Sep 22, 2022 · 2 comments
Labels
bug cli CLI Application customer-support Customer Support contact needed for resolution

Comments

@TimoVerbrugghe
Copy link

TimoVerbrugghe commented Sep 22, 2022

Steps To Reproduce

  1. Using the bw cli (in my case installed using npm), signed into my selfhosted bitwarden server

bw config server <serverurl> bw login --apikey bw sync bw unlock

  1. List my organizations in order to get organization IDs

bw list organizations --session <BW_SESSION_KEY>

  1. Try to export one of my organizations' vault as a non-encrypted json

bw export --format json --organizationid <orgid> --session <BW_SESSION_KEY> --output .

Expected Result

A json formatted file with the items in my organization vault

Actual Result

Getting the following error code:

{"response":{"error":{"code":404,"reason":"Not Found","description":"The requested resource could not be found."}},"captchaRequired":false,"statusCode":404}

Screenshots or Videos

Screenshot 2022-09-22 at 19 43 59

Additional Context

I've triple checked that the org id is correct. Additionally, other commands such as

bw get organization <orgid>
bw list org-collections --organizationid <orgid>

do work with the same org id that I'm using on the export command.

Exporting using other formats (csv or encrypted json) come with the same result.

Exporting the organization vault using the web client works as expected.

Operating System

Linux

Operating System Version

Using alpine linux in a docker container

Shell

Bash

Build Version

2022.9.0

@TimoVerbrugghe TimoVerbrugghe added bug cli CLI Application labels Sep 22, 2022
@dbosompem dbosompem added the customer-support Customer Support contact needed for resolution label Sep 22, 2022
@github-actions
Copy link
Contributor

We use GitHub issues as a place to track bugs and other development related issues. Your issue appears to be a support request, or would otherwise be better handled by our dedicated Customer Success team.

Please contact us using our Contact page. You can include a link to this issue in the message content.

Alternatively, you can also search for an answer in our help documentation or get help from other Bitwarden users on our community forums. The issue here will be closed.

@dh024
Copy link

dh024 commented Sep 23, 2022

For anyone reading this thread in the future, this is a server-side issue. Note above that the user is running vaultwarden server, not a Bitwarden product.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cli CLI Application customer-support Customer Support contact needed for resolution
Projects
None yet
Development

No branches or pull requests

3 participants