1

I am trying with deploying the basic business partner app on my local tomee, and i am getting the below error "TenantNotAvailableException: Failed to get current tenant: tenant not available" while calling http://localhost:8080/businesspartners

Error while calling /businesspartners

what i tried is to check the "destinations" variable and its seems to be accessible from application, How do i resolve this? Am i missing any configuration?

Thanks, Girish

Girish BN
  • 91
  • 2
  • 13

1 Answers1

1

This is currently a bug in the OData call. We will look into this and update this answer once it is fixed.

As a workaround (for non-productive use cases only!) you can set the ALLOW_MOCKED_AUTH_HEADER environment variable to true. This will provide a mocked tenant in case to tenant could be identified by the SDK. In step 7 of our blog series you will learn how to setup an approuter to provide you such a tenant so that you can remove the variable.

Christoph Schubert
  • 1,089
  • 1
  • 8
  • 16