Skip to main content
Question

Session  IdP refresh failed

  • March 10, 2025
  • 2 replies
  • 48 views

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
  • 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


  • Author
  • Active
  • March 11, 2025

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)