pydexcom icon indicating copy to clipboard operation
pydexcom copied to clipboard

No data from API

Open Ldalvik opened this issue 7 months ago • 12 comments

Not sure if something changed or something is up with my Dexcom Follow, but i am no longer receiving data. I get "None" everytime.

Ldalvik avatar Aug 08 '25 21:08 Ldalvik

Hi, I just ran a test with my account in the US and everything seemed to work. Could you please share your region, and any debug logging? Any exceptions thrown?

gagebenne avatar Aug 08 '25 23:08 gagebenne

I am in the US region. I will post the HTTP response, but it seems to return 200 but gives me an empty array of data. It's been several months since I used it last, and I had to reactivate Dexcom Follow and get added as a Follower. Is there a period between activating Dexcom Follow and when the API returns data? I cannot think of any reason it wouldn't work besides maybe some setting has changed in the account. As it did seem to work when I used it a while ago.

Ldalvik avatar Aug 09 '25 20:08 Ldalvik

HTTP/1.1 200 OK
Date: Fri, 08 Aug 2025 00:35:26 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: close
CF-RAY: 96baef077937904b-BOS
vary: Accept-Encoding
vary: Origin
vary: Access-Control-Request-Method
vary: Access-Control-Request-Headers
x-trace-id: 37f68d7e-05b7-4e50-a5a9-3ddcaffaba3d
strict-transport-security: max-age=15780000; includeSubDomains; preload
cf-cache-status: DYNAMIC
X-Content-Type-Options: nosniff
Set-Cookie: _cfuvid=(cookie data removed); path=/; domain=.share2.dexcom.com; HttpOnly; Secure; SameSite=None
Server: cloudflare

2
[]
0

Ldalvik avatar Aug 09 '25 20:08 Ldalvik

I tested with another family members dexcom, and it worked. There is no noticeable issues/differences in them, so I am not sure why im not getting data.

Ldalvik avatar Aug 10 '25 17:08 Ldalvik

It appears that your primary device has logged out and is not transferring data to the cloud.

dejurin avatar Aug 13 '25 19:08 dejurin

Yep, agree with @dejurin. Give everything mentioned in the quick start a double check. Your password and login seems fine, otherwise you would be throwing exceptions, not getting back None/[].

gagebenne avatar Aug 13 '25 20:08 gagebenne

Thanks, I will give it another try. Both accounts seem to be getting data, as Dexcom Follow shows them live. And I set them up exactly the same. Always weird stuff happening when you're trying to debug lol! You don't even know how long I spent messing with my own library before testing it with this one again, to find out it's unrelated.

Ldalvik avatar Aug 13 '25 20:08 Ldalvik

hijacking this on an unrelated note, but does anyone know what the root certificate is? I am making a library for an embedded device and currently use insecure access, but had no luck trying it with a certificate.

Ldalvik avatar Aug 14 '25 00:08 Ldalvik

Hello. I am having the same issue as well in the US with my Dexcom G7. I've tried turning on and off the follow feature and it's now been over 24 hours, but the issue still persists.

Note: I have used this before and it has worked flawlessly until around this month.

Edit: It seems that turning the sharing off and then on and force stopping the Dexcom G7 app can fix the issue. Seems like there is just a bug where sharing isn't turned on like it is supposed to be; unless I have missed something.

ar065 avatar Aug 20 '25 16:08 ar065

@ar065 So was it just flipping that switch that fixed things? Are you able to see the readings via pydexcom?

gagebenne avatar Sep 04 '25 02:09 gagebenne

I'm also experiencing the same issue on the OUS region. Newly created dexcom share account receives data in the app, but not when hitting the API directly. Toggling share on and off, and rebooting the app in between doesn't work. I'm wondering if this has something to do with the new Dexcom Share app that came out recently.

dustinblackman avatar Nov 04 '25 01:11 dustinblackman

@ar065 So was it just flipping that switch that fixed things? Are you able to see the readings via pydexcom?

I apologize for the late reply. But yes, that's what worked for me and I haven't had any issues since.

ar065 avatar Nov 04 '25 02:11 ar065

Hm, this might've been a temporary issue. I'm going to close this issue, my test EU account has been working fine.

gagebenne avatar Jan 15 '26 01:01 gagebenne