App URL configuration conflicts in self-hosted deployments
Last updated: February 20, 2026
This issue is applicable to customers matching these conditions
Plans: Enterprise
Deployments: Hybrid
Use case: Using the SDK
Issue
While using the SDK you notice Error: Impossible: cannot invoke objectIdFields unless SpanComponentsV3 is initialized with an object_id and have appUrl defined on a method like initLogger.
Cause
This can be caused by leveraging the appUrl property on a method from the SDK when unnecessary. This property is only needed when you have a separate URL for your Control Plane.
Resolution(s)
If you use https://braintrust.dev to login
Leave the appUrl property undefined
Otherwise, if you use a different URL to login
Leverage that as the appUrl and add your API key to BRAINTRUST_API_KEY environment variable.