Solved

Data Engineer Basics Hands-On CREATE Access Rights Issue

  • 24 April 2023
  • 9 replies
  • 130 views

Userlevel 1
Badge +2

Hello,

I’m facing following error while creating an asset in Hands-On:

CogniteAPIError: Resource not found. This may also be due to insufficient access rights. | code: 403 | X-Request-ID: d75b2c0d-f96b-9efc-8dbc-6aef50e25dff The API Failed to process some items.

But able to read data and create a dataset.

Please kindly advise.

Regards,

Asan

icon

Best answer by Asan Arifov 8 June 2023, 04:53

View original

9 replies

Userlevel 3
Badge +6

Hi @Asan Arifov 

Are you able to do a list assets call?

 

Userlevel 3
Badge +6

Hi @Asan Arifov 

Which course are you working on? You could also send us the url from learn.cognite.com

 

Userlevel 1
Badge +2

Hi @Sofie Haug,

It is Learn to Use the Cognite Python SDK course, Solving the hands-on task.

I figured out the root cause of the issue.

In step 1 it advises to set write_protected=True, but it makes impossible to add an asset to the data set later in step 2.

 

Userlevel 3
Badge +6

@Asan Arifov Thank you for your feedback! I’ll look into that

 

 

Userlevel 3
Badge +6

@Asan Arifov  I didn’t get this issue myself. But if you still do, please create a data set that is not write protected. 

Userlevel 4
Badge +2

Hi @Asan Arifov ,

I hope Sofie’s reply was helpful. Did you manage to solve this issue?

Best regards,
Dilini

 

Userlevel 1
Badge +2

Hi @Dilini Fernando,

Yes. The issue were resolved by setting write_protected=False

Thank you @Sofie Haug.

Badge +2

Have the same issue. Dataset’s write_protected  is False, but I still get Resource not found error.

Userlevel 2
Badge

@Maksim Ziniakin will you be able to share your code and the CDF project that you are working on? Please remove any sensitive information in the code.

Reply