Skip to main content
Committed ⭐️⭐️⭐️
September 4, 2023
Solved

CDF-Learning. Data Transformation with different error

  • September 4, 2023
  • 2 replies
  • 70 views

I am following the Cognite training and trying to create the asset data transformation. when hit Run bottom it shows a different error on each run. can understand what is the root cause and the mitigation action. Appreciate feedback. Thanks

 

ever display the exactnumber of 36 rows we have in the asset.csv file

    Best answer by Sofie Haug

    Hi @Eddy Ramon Gimenez Moreno!

     

    Looking into the transformations you’ve ran, I see that you have successfully created your assets! 
    You selected “create assets” instead of a asset hierarchy. Then it tries to make them one by one and throws an error if the paren of the asset it is trying to create doesn’t exist yet. While choosing asset hierarchy we avoid this issue. Why it reads a different number, I’m not sure about, but we do see that when asset hierarchy is selected it reads the correct number (36)! 

     

    Good luck with the rest of the training!

    2 replies

    Sofie Haug
    Expert ⭐️⭐️⭐️⭐️
    Cognite Academy Instructor
    September 5, 2023

    Hi @Eddy Ramon Gimenez Moreno!

     

    Looking into the transformations you’ve ran, I see that you have successfully created your assets! 
    You selected “create assets” instead of a asset hierarchy. Then it tries to make them one by one and throws an error if the paren of the asset it is trying to create doesn’t exist yet. While choosing asset hierarchy we avoid this issue. Why it reads a different number, I’m not sure about, but we do see that when asset hierarchy is selected it reads the correct number (36)! 

     

    Good luck with the rest of the training!

    Sofie | Cognite Academy
    Committed ⭐️⭐️⭐️
    September 7, 2023

    Thanks, Sofie for your feedback. Now it is working. Warm regards