Skip to main content
Seasoned ⭐️⭐️
March 2, 2026

Cannot upload files with toolkit version 0.7.135

  • March 2, 2026
  • 22 replies
  • 327 views

Hi,
I’m using toolkit to deploy files to CDF. I am using FileMetadata.yaml as in

- externalId: 'my_external_id.usc'
name: 'my_external_id.usc'
source: 'toolkit'
dataSetExternalId: 'my_dataset_external_id'
mimeType: 'application/usc'
metadata:
origin: 'cognite-toolkit'

I have my .usc file in the same folder and toolkit is not uploading the file (just deploying the metadata).

The dry run recognizes that there is file content to be uploaded, but it does not do it

Use case: I am trying to upload a file to be used in the simulator connector routine. I tried deploying just the file first and then deploy the routine and also tried both together, but it did not work.

Any thoughts?
 

    22 replies

    Seasoned ⭐️⭐️
    March 30, 2026

    If they’re enabled, my simulation runs within the connector will fail since I am not using them at all

    Therefore I should be able to disable them.

    I used to see this error before but I thought this was fixed before in the version 0.7.126
     

    Peter  Arwanitis
    Practitioner ⭐️⭐️⭐️
    Practitioner ⭐️⭐️⭐️
    April 9, 2026

    The case is now resolved, and confirmed working. It triggered several improvements on Cognite side getting here.

    We have now a proven CDF Toolkit support for 

    1. Create Simulator Model
    2. Create Simulator Model Revision
    3. Create Simulator Routine
    4. Create Simulator Routine Revision

    We had to clarify the meaning and usage of the `enabled` property in Simulator Routine Revision `configuration` section.

    • By CDF API design the `enabled` is not accepting consistently `false` value, but could raise  in case of `steadyStateDetection` and `logicalCheck` following error message

    > Request failed with status code 400: Input should be True: 'body.items.0.configuration.logicalCheck.0.enabled'. Input should be True: 'body.items.0.configuration.steadyStateDetection.0.enabled'.

     

    A working configuration YAML section which disables all configuration options (as required by AKBP) is:

    # how to disable all configuration options in SimulatorRoutineRevision.yaml

    configuration:
    schedule:
    enabled: false
    dataSampling:
    enabled: false
    logicalCheck: []
    steadyStateDetection: []

    An documentation update task on Cognite side is already created.

    Thank you for the patience going through this exercise with Cognite the first time to deploy Simulator through CDF Toolkit!