Skip to main content
Seasoned ⭐️⭐️⭐️
February 18, 2025

API Limit Using cognite token

  • February 18, 2025
  • 5 replies
  • 69 views

I was fetching data using token.
I am encountering a CogniteProjectAccessError while fetching data:

"You don't have access to the requested CDF project='**' | Code: 401 | X-Request-ID: 6530e2ad-ff30-9d91-af29-218a4c3c0e62 | Cluster: **"

5 replies

Mithila Jayalath
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
February 18, 2025

@Sumedh Vaidya the token might have expired while fetching data. Can you please elaborate more on your usecase? 

Seasoned ⭐️⭐️⭐️
February 19, 2025

tried with new token also , still facing same error

 

Mithila Jayalath
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
February 19, 2025

@Sumedh Vaidya Are you using the SDK or the API? Can you please provide more information about how you are authenticating, etc? 

Seasoned ⭐️⭐️⭐️
February 19, 2025

using SDK .
created .env file and in it token

Mithila Jayalath
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
February 19, 2025

Will you be able to share the auth code to further investigate? Please remove all the sensitive information like secrets.