Skip to main content
Answer

CogniteAPIError: Unauthorized | code: 401

  • May 9, 2024
  • 2 replies
  • 58 views

Forum|alt.badge.img+4

I am busy with Cognite Training:

Data Engineer Basics > Python SDK Transformations (Hands On)

I have completed the ‘1. Environment setup’ without any problems. At the end of that, I have a variable defined 

 

However, the next step is to create the database in CDF:

This gives  the error, which looks like an access error: CogniteAPIError: Unauthorized | code: 401 

 

Please could someone advise me what is to be done to correct?

Thank you.

Doug

 

 

Best answer by Dilini Fernando

Hi @Mugless Durry ,

I have created a support ticket, so our team can follow up and help you.

2 replies

Dilini Fernando
Seasoned Practitioner
Forum|alt.badge.img+2
  • Seasoned Practitioner
  • Answer
  • May 9, 2024

Hi @Mugless Durry ,

I have created a support ticket, so our team can follow up and help you.


Forum|alt.badge.img+4

Thank you Dilini,

I followed the instructions in the ticket and created another client secret. this solved the problem.