Skip to main content
ChandC
Seasoned ⭐️
Seasoned ⭐️
August 2, 2023
Solved

KeyError - Extractor-utils Library for Cognite Python SDK

  • August 2, 2023
  • 1 reply
  • 109 views

After completing the setup and configuration per the video, executing the csvextractor I receive a KeyError:  ‘Title’ message.     I would like to understand why I’m seeing the error and how to resolve it?

 

 

 

    Best answer by Kathrine Muszynski

    Hi Chand, 

    Thank you for reaching out. 

    Can you please provide a link to the video you used to set up this Extractor? 

     

    Running the code you provided, it appears there is an \ufeff in the Title key. This suggests there is a difference in the encoding. Can you please take a look at how your code Editor stores CSV files? 

     

    Thank you, 

    Kat

     

    1 reply

    Practitioner ⭐️⭐️⭐️
    September 21, 2023

    Hi Chand, 

    Thank you for reaching out. 

    Can you please provide a link to the video you used to set up this Extractor? 

     

    Running the code you provided, it appears there is an \ufeff in the Title key. This suggests there is a difference in the encoding. Can you please take a look at how your code Editor stores CSV files? 

     

    Thank you, 

    Kat