{"record":{"id":"22ecb938acb99ac4","repo":"bitwarden/server","slug":"something-went-wrong-with-your-request-please-con-22ecb9","errorCode":null,"errorMessage":"Something went wrong with your request. Please contact support.","messagePattern":"Something went wrong with your request\\. Please contact support\\.","errorType":"exception","errorClass":"BillingException","httpStatus":500,"severity":"error","filePath":"bitwarden_license/src/Commercial.Core/Billing/Providers/Services/ProviderBillingService.cs","lineNumber":388,"sourceCode":"            }\n\n            var applicablePlanType = await GetManagedPlanTypeAsync(provider, organization);\n\n            var requiresPurchase =\n                await SeatAdjustmentResultsInPurchase(provider, applicablePlanType, organization.Seats!.Value);\n\n            return addable with { Disabled = requiresPurchase };\n        }));\n\n        async Task<string> DerivePlanName(Provider localProvider, Organization localOrganization)\n        {\n            if (localProvider.Type == ProviderType.Msp)\n            {\n                return localOrganization.PlanType switch\n                {\n                    var planType when PlanConstants.EnterprisePlanTypes.Contains(planType) => \"Enterprise\",\n                    var planType when PlanConstants.TeamsPlanTypes.Contains(planType) => \"Teams\",\n                    _ => throw new BillingException()\n                };\n            }\n\n            var plan = await pricingClient.GetPlanOrThrow(localOrganization.PlanType);\n            return plan.Name;\n        }\n    }\n\n    public async Task ScaleSeats(\n        Provider provider,\n        PlanType planType,\n        int seatAdjustment)\n    {\n        var providerPlan = await GetProviderPlanAsync(provider, planType);\n\n        var seatMinimum = providerPlan.SeatMinimum ?? 0;\n\n        var currentlyAssignedSeatTotal = await GetAssignedSeatTotalAsync(provider, planType);","sourceCodeStart":370,"sourceCodeEnd":406,"githubUrl":"https://github.com/bitwarden/server/blob/e93b962371d80964556f5590c6615f5160a437a1/bitwarden_license/src/Commercial.Core/Billing/Providers/Services/ProviderBillingService.cs#L370-L406","documentation":"Error \"Something went wrong with your request. Please contact support.\" thrown in bitwarden/server.","triggerScenarios":"Thrown in ProviderBillingService when an unhandled exception occurs while processing a provider billing request (e.g., Stripe API failure, unexpected null data, or a billing operation that cannot complete).","commonSituations":"See trigger scenarios.","solutions":["Retry the request once; transient upstream billing failures can resolve on their own.","Check the provider subscription state in the billing portal for suspended or past-due status.","If the error persists, contact Bitwarden support with the provider ID and the time of the request."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e93b962371d80964556f5590c6615f5160a437a1","analyzedAt":"2026-08-13T14:22:19.382Z","schemaVersion":2},"datasetVersion":"2026-08-13T19:17:28.613Z"}