Skip to main content
Question

Session  IdP refresh failed


We are trying to deploy a new project with cdf toolkit, but get the following error:

ERROR (ResourceCreationError): Failed to create resource(s). Error: Session 
IdP refresh failed | code: 400 | X-Request-ID: 
34cc5242-b88e-991e-87ef-c2b00a6df73e | cluster: api.
ERROR
ERROR: build step 0 "cognite/toolkit:0.4.2" failed: step exited with non-zero status: 1
 

2 replies

  • Architect
  • 14 replies
  • March 10, 2025

@Silje Raddum do you have any more information about the failing step? This looks like a resource that uses sessions (Transformations, Workflows, Functions) and that there’s some issue with its IdP credentials


Hello again! That question gave me a nice clue :) Up until recently I have been able to run workflows without specifying credentials. Since toolkit is smart and doesn’t re-deploy modules that haven’t changed, the error didn’t surface before adding a new module. The problem was solved by setting clientId and clientSecret in workflow authentication of the new module.

(The error message didn’t contain any information on what module/resource the error originated from)


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings