Skip to main content
Question

403 error when creating datasets - Match Entities with Python SDK 30

  • August 25, 2025
  • 2 replies
  • 36 views

Forum|alt.badge.img+2

I’m following the course “Match Entities with Python SDK 30”. When I try to create a dataset with the Python SDK in the publicdata project, I get a 403 error as follows:
CogniteAPIError: Resource not found. This may also be due to insufficient access rights. | code: 403 | X-Request-ID: 3202bb40-24b7-9a9a-863b-3b672978834b | cluster: api | project: publicdata The API Failed to process some items. Successful (2xx): 0 Unknown (5xx): 0

I tried setting write_protected=False, it did not work.
 

I was able to authenticate successfully using the provided client_id for the publicdata project, and able to retrieve datasets, but I cannot create new ones.

Could someone please clarify:

  1. Do learner accounts in the publicdata project have write access, or are they read-only by design?

  2. If write access is expected, could Cognite team help assign the correct permissions so learner can create datasets as shown in the course notebook?

Thanks in advance!

2 replies

Mithila Jayalath
Expert ⭐️⭐️⭐️⭐️
Forum|alt.badge.img+8
  • Expert ⭐️⭐️⭐️⭐️
  • August 26, 2025

@Rajashree Munoli users do not have write access to the publicdata project. You will only have read only access.


Forum|alt.badge.img+2
  • Author
  • Committed ⭐️⭐️⭐️
  • August 26, 2025

Thanks ​@Mithila Jayalath for clarifying that the publicdata project is read-only. That makes sense now why dataset creation fails. I will try to adapt the notebook to work with existing datasets to retrieve, query, try entity matching and other steps. Thanks!