orgName environment variable must be updated in the deployment configuration to match the new organization name. Failure to update this configuration causes a mismatch between the organization name in the Braintrust control plane and the data plane, resulting in 403 authorization errors and abnormal dashboard behavior. This issue is specific to self-hosted data plane deployments and does not affect cloud-hosted instances.
Symptoms
- 403 Forbidden errors when accessing the dashboard after organization creation or rename
- Dashboard displays abnormal or broken behavior for the old organization name
- Unable to view data or metrics for the organization
- Authentication issues when accessing organization resources
Workarounds
Option 1: Update Helm Configuration
For Helm deployments, update theorgName field in your values.yaml file to match the new organization name and redeploy the instance.
Helm Configuration
Option 2: Update Terraform Configuration
For Terraform deployments, update the organization name variable in your Terraform configuration and apply the changes.Terraform Configuration
Notes
- This issue only affects self-hosted data plane deployments. Cloud-hosted instances managed by Braintrust do not require manual environment variable updates.
- The
orgNameconfiguration must exactly match the organization name as it appears in the Braintrust control plane, including capitalization and spacing. - After updating the configuration, a full redeployment of the data plane is required for changes to take effect.
- If you rename an organization, update the
orgNameconfiguration immediately to prevent service disruption. - When creating a new organization in a self-hosted environment, ensure the
orgNameis set correctly before the organization is actively used. - Dashboard issues will resolve immediately once the correct
orgNameconfiguration is deployed.