Skip to main content
Solved

Data Engineer Basics Hands-On CREATE Access Rights Issue


Forum|alt.badge.img+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

Best answer by Asan Arifov

Hi @Dilini Fernando,

Yes. The issue were resolved by setting write_protected=False

Thank you @Sofie Haug.

View original
Did this topic help you find an answer to your question?

9 replies

Sofie Haug
Practitioner
Forum|alt.badge.img+7
  • Cognite Academy Instructor
  • 151 replies
  • April 25, 2023

Hi @Asan Arifov 

Are you able to do a list assets call?

 


Sofie Haug
Practitioner
Forum|alt.badge.img+7
  • Cognite Academy Instructor
  • 151 replies
  • April 25, 2023

Hi @Asan Arifov 

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

 


Forum|alt.badge.img+2
  • Author
  • Committed
  • 5 replies
  • April 27, 2023

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.

 


Sofie Haug
Practitioner
Forum|alt.badge.img+7
  • Cognite Academy Instructor
  • 151 replies
  • May 3, 2023

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

 

 


Sofie Haug
Practitioner
Forum|alt.badge.img+7
  • Cognite Academy Instructor
  • 151 replies
  • May 15, 2023

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


Dilini Fernando
Seasoned Practitioner
Forum|alt.badge.img+2

Hi @Asan Arifov ,

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

Best regards,
Dilini

 


Forum|alt.badge.img+2
  • Author
  • Committed
  • 5 replies
  • Answer
  • June 8, 2023

Hi @Dilini Fernando,

Yes. The issue were resolved by setting write_protected=False

Thank you @Sofie Haug.


Forum|alt.badge.img+2

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


Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img

@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.


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings