Skip to main content

API Limit Using cognite token

  • February 18, 2025
  • 5 replies
  • 36 views

Forum|alt.badge.img+6

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
Seasoned Practitioner
Forum|alt.badge.img+8
  • Seasoned Practitioner
  • February 18, 2025

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


Forum|alt.badge.img+6
  • Author
  • Seasoned
  • February 19, 2025

tried with new token also , still facing same error

 


Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img+8
  • Seasoned Practitioner
  • 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? 


Forum|alt.badge.img+6
  • Author
  • Seasoned
  • February 19, 2025

using SDK .
created .env file and in it token


Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img+8
  • Seasoned Practitioner
  • February 19, 2025

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