Skip to main content

API Limit Using cognite token

  • February 18, 2025
  • 5 replies
  • 24 views

Forum|alt.badge.img+5

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

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


Forum|alt.badge.img+5
  • Author
  • Seasoned
  • 4 replies
  • February 19, 2025

tried with new token also , still facing same error

 


Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img

@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+5
  • Author
  • Seasoned
  • 4 replies
  • February 19, 2025

using SDK .
created .env file and in it token


Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img

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


Reply


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