You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@djs0109 Ok that seems convenient. Despite the fact that , creating a "dummy" entity that happens to already exist is very unlikely, is there actually no other way of creating a tenant ?
@SystemsPurge If the "dummy" entity already exists, the tenant must also exist, so the walkaround should not be triggered. Maybe the cleanest way is to create a reusable error-handling function for capturing the "tenant not found" error. But imop it will cost large effort while bringing little benefit.
We need to create a walkaround for LD CB when the tenant is empty. Otherwise, all GET functions will receive an error.
Solution
We add a check while instantiating the cb client. If the tenant does not exist, we can create a dummy entity and then delete it.
The text was updated successfully, but these errors were encountered: