Skip to main content
Answer

Issue retrieving data using SDK

  • April 5, 2025
  • 3 replies
  • 27 views

lowiso
Active

Hi!

I´m getting the warning below after c.data_sets.list() when using the SDK. it is important to mentioned that I successfully logged in using device autthentication and confirmed connection with client, but it is not possible to retrieve data. Can anyone help?


Here the warning message:
 

WARNING:msal.oauth2cli.authcode:Found no browser in current environment. If this program is being run inside a container which either (1) has access to host network (i.e. started by `docker run --net=host -it ...`), or (2) published port 53000 to host network (i.e. started by `docker run -p 127.0.0.1:53000:53000 -it ...`), you can use browser on host to visit the following link. Otherwise, this auth attempt would either timeout (current timeout setting is None) or be aborted by CTRL+C. Auth URI: https://login.microsoftonline.com/48d5043c-cf70-4c49-881c-c638f5796997/oauth2/v2.0/authorize?client_id=fab52bb5-9de2-4f9e-aefa-712da4b5fe00&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A53000&scope=https%3A%2F%2Fwesteurope-1.cognitedata.com%2F.default+offline_access+openid+profile&state=QKzZkDjAIqunlpNW&code_challenge=1gaPDvMV8p87blj3m0vxI9updo1GSr144lEgnXxeyuQ&code_challenge_method=S256&nonce=acb0039c6942e82a77d6813d2c6b8cbfda423516f681472fa634ed69e34f2a4c&client_info=1

 

 

Best answer by Mithila Jayalath

@lowiso Since I didn’t hear back from you, I’ll mark this question as resolved.

3 replies

Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img+8

@lowiso sorry for the late response. Can you please share your code to further investigate this issue?


Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img+8

@lowiso since I didn’t hear back from you, I’m following up on this. Are you still observing this issue? If yes, can you please share your code to further investigate this issue?


Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img+8
  • Seasoned Practitioner
  • Answer
  • August 31, 2025

@lowiso Since I didn’t hear back from you, I’ll mark this question as resolved.