IS_MULTI_PROVIDER_CONFIGURATION_ENABLED
I have multi configuration turned on and then provisioned new integrations through the API, I then get the error about not having a primary integration.
I would see this a design issue with the API that it does not implement the business rules. I assume these to be that there is always one primary.
I have confirmed the business rule by poking the data on the primary field in the integration.
The API example SUGGESTS that primary is returned as true π It looks more like you have to then POST to https://docs.novu.co/api-reference/integrations/set-integration-as-primary.
I can imagine that given this is feature flagged it is evolving, however, this also suggests the need for data migration too (which is the business rule implemented over the data anyway with some decision on a default )
0 Replies