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

API: collections/details not working, Guid should contain 32 digits with 4 dashes #3031

Open
1 task done
domdev-p opened this issue Jun 21, 2023 · 1 comment
Open
1 task done
Labels

Comments

@domdev-p
Copy link

Steps To Reproduce

Yesterday we upgraded from Version 1.49 to 2023.5.0

  1. Go to Organizations
  2. The Vault is not loading. An infinite spinning wheel shows.

https://XXXXXX/api/organizations/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/collections/details
Returns a 500 error:

{
    "message": "An unhandled server error has occurred.",
    "validationErrors": null,
    "exceptionMessage": null,
    "exceptionStackTrace": null,
    "innerExceptionMessage": null,
    "object": "error"
}

https://XXXXXX/api/organizations/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/collections
Is working as expected.

The Errorlog shows this:

[Error] Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
   at System.Guid.GuidResult.SetFailure(Boolean overflow, String failureMessageID)
   at System.Guid.TryParseExactN(ReadOnlySpan`1 guidString, GuidResult& result)
   at System.Guid.TryParseGuid(ReadOnlySpan`1 guidString, GuidResult& result)
   at System.Guid..ctor(String g)
   at Bit.Api.Controllers.CollectionsController.CanViewCollectionAsync(String orgId, String collectionId) in /home/runner/work/server/server/src/Api/Controllers/CollectionsController.cs:line 269
   at Bit.Api.Controllers.CollectionsController.Get(String orgId, String id) in /home/runner/work/server/server/src/Api/Controllers/CollectionsController.cs:line 48
   at lambda_method97(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---

Expected Result

A working organization vault.

/api/organizations/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/collections/details should return a http status 200

Actual Result

grafik

Screenshots or Videos

No response

Additional Context

Database migration info:
Converting database 'master' from version 869 to the current version 904.

Build Version

2023.5.0

Environment

Self-Hosted

Environment Details

  • Operating System: Ubuntu
  • Docker
  • vCPU: 2 (Intel) RAM: 8 GB

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@domdev-p domdev-p added the bug label Jun 21, 2023
@Adedamola-Aina
Copy link
Member

Adedamola-Aina commented Jun 22, 2023

hi @domdev-p

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

We use GitHub issues as a place to track bugs and other development related issues. If your issue persists, please write us back using our contact form, so we can continue troubleshooting: https://bitwarden.com/contact/

You can include a link to this issue in the message content.

Alternatively, you can also search for an answer in our help documentation (https://bitwarden.com/help/) or get help from other Bitwarden users on our community forums (https://community.bitwarden.com/c/support/).

The issue here will be closed.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants