gagebenne/pydexcom

Dexcom G7 Support

Closed this issue ยท 13 comments

ib250 commented

Hi

I was wondering, does the library support dexcom G7? I've been having some problems using it with an authentication error "password" invalid

Hi! It's a good question, one which I'm not so sure of myself. I don't have access to a G7, so I don't really have a way to test this. For your issue, be sure to use the correct region (OUS parameter set to True if you are located outside the US).

Let me know!

ib250 commented

Thanks for the quick reply! I'm pretty sure I set it to the correct region ous=True (device is registered in Germany). The error response I'm getting is:

json: {'Code': 'AccountPasswordInvalid', 'Message': 'Publisher account password failed', 'SubCode': '<OnlineException DateThrownLocal="2023-03-29T14:28:17.02" DateThrown="2023-03-29T14:28:17.02Z" ErrorCode="AccountPasswordInvalid" Type="13" Category="4" Severity="1" TypeString="InvalidPassword" CategoryString="Validation" SeverityString="Minor" HostName="" HostIP="" Id="" Message="Publisher account password failed" FullText="com.dexcom.udp.common.data.exception.OnlineException: Publisher account password failed" />', 'TypeName': 'FaultException'}

I saw in another thread that the password complexity could be an issue?

Could certainly try a password change! Also be sure that you have the Dexcom Share service setup with at least one follower, and you are using the user's credentials as opposed to the followers.

https://github.com/gagebenne/pydexcom#setup

I use this with Dexcom G7 and it works just fine. I'm in the US.

ib250 commented

Share is enabled and I'm using the user credentials not the follower. The same credentials work on the G7 mobile application and clarity as well.
Changing the password did not help unfortunately ๐Ÿ˜ข. I thought I'd add some more debugging information:

{
        'Code': 'AccountPasswordInvalid',
        'Message': 'Publisher account password failed',
        'SubCode': (
            '<OnlineException DateThrownLocal="2023-03-30T09:39:02.506" DateThrown="2023-03-30T09:39:02.506Z" ErrorCod'
            'e="AccountPasswordInvalid" Type="13" Category="4" Severity="1" TypeString="InvalidPassword" CategoryStrin'
            'g="Validation" SeverityString="Minor" HostName="" HostIP="" Id="{9c7eb692-ff4f-4127-9b9e-0ff8956c3e5b}" M'
            'essage="Publisher account password failed" FullText="com.dexcom.udp.common.data.exception.OnlineException'
            ': Publisher account password failed" />'
        ),
        'TypeName': 'FaultException',
    }

Is there any documentation you can point me to that could help me debug?

ib250 commented

Bumping this โ˜๏ธ

Are you able to login to this website?

https://uam1.dexcom.com

ib250 commented

Are you able to login to this website?

https://uam1.dexcom.com

Sorry for the delay, unfortunately no. I'm not in the US

Ah, sorry, I think this is the OUS url:

https://uam2.dexcom.com

ib250 commented

https://uam2.dexcom.com

Yup, I can login yes. I've got a new device and created a new account as well, still the same issue

ib250 commented

I did just notice something interesting. When I created the new account I shared my data with someone and the email came from the domain name share3-dexcom.com IIRC that was not the demain name the G6 emails came from. Sadly I cant replicate it because G6 follow seems to be broken in the app itself ๐Ÿ˜…

Hi @ib250 -- are you still having issues logging in? I've sadly ran out of troubleshooting idea, ha!

ib250 commented

Yup, still not working. I'll have a look again and I'll let you know if I figure it out so you can update the library. I might do a PR if it's not too big a change. Thanks! I'll close this issue.