Event Triggers and Generating Campaigns

Hi @adrianhannen,

Thanks for watching the AWS Howdy Partner session! I am glad you found it helpful!

In order to create a certification via our API, there are two steps. First, you call an API to create a certification. Once this is created, it is generated and goes into a “staged” status. Once that is complete, then you can second, call an API to activate it so end users can see it. You should be able to see those API calls in the AWS Lambda provided.

The error you are are seeing is because you are attempting to activate a certification that is not quite in the “staged” status yet - i.e. it is still generating.

As a quick solution, you can setup a delay or sleep in between API calls to give it more time to generate.

As a long-term solution, this isn’t ideal. The SailPoint take-away is it would be able to be better to be able to call into our create certification APIs and skip the “staging” and go immediately to the “active” stage. That might be something @jordan.violet or @colin_mckibben can take-away with our API product teams.

I hope this helps!

1 Like