You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have many users getting login error. All of them have a + in their dexcom username. I know it used to be a problem before to have sepcial characters in the username but that was fixed long time ago. either there was some change in the dexcom API that cause these accounts to fail authentication, or I am doing something wrong with the character encoding of my login requests.
but if I try with another account that has a + in their dexcom username, like this: curl -k -X POST https://shareous1.dexcom.com/ShareWebServices/Services/General/AuthenticatePublisherAccount --data '{"password":"<hidden password here>", "applicationId":"d89443d2-327c-4a6f-89e5-496bbb0317db", "accountName":"+14087977776"}' -H "Accept: application/json" -H "Content-type: application/json"
Still have not been able to resolve the issue with account names including '+' being rejected by the dexcom server. Here is what I get in the Heroku log file:
I have also tried using curl to post the request directly, but with the same results. It seems like there is an issue with the dexcom server (only tested the US one), very similar to the previous issue with special chars in the acount name that later got fixed.
Hi, I have many users getting login error. All of them have a + in their dexcom username. I know it used to be a problem before to have sepcial characters in the username but that was fixed long time ago. either there was some change in the dexcom API that cause these accounts to fail authentication, or I am doing something wrong with the character encoding of my login requests.
This request works:
curl -k -X POST https://shareous1.dexcom.com/ShareWebServices/Services/General/AuthenticatePublisherAccount --data '{"password":"<hidden password here>", "applicationId":"d89443d2-327c-4a6f-89e5-496bbb0317db", "accountName":"[email protected]"}' -H "Accept: application/json" -H "Content-type: application/json"
but if I try with another account that has a + in their dexcom username, like this:
curl -k -X POST https://shareous1.dexcom.com/ShareWebServices/Services/General/AuthenticatePublisherAccount --data '{"password":"<hidden password here>", "applicationId":"d89443d2-327c-4a6f-89e5-496bbb0317db", "accountName":"+14087977776"}' -H "Accept: application/json" -H "Content-type: application/json"
I get an error message:
{"Code":"AccountPasswordInvalid","Message":"Publisher account password failed","SubCode":"<OnlineException DateThrownLocal=\"2023-06-27T15:33:08.793\" DateThrown=\"2023-06-27T15:33:08.793Z\" ErrorCode=\"AccountPasswordInvalid\" Type=\"13\" Category=\"4\" Severity=\"1\" TypeString=\"InvalidPassword\" CategoryString=\"Validation\" SeverityString=\"Minor\" HostName=\"\" HostIP=\"\" Id=\"{b2963c4a-0429-4ca2-af79-d5fc1ee4c3b4}\" Message=\"Publisher account password failed\" FullText=\"com.dexcom.udp.common.data.exception.OnlineException: Publisher account password failed\" />","TypeName":"FaultException"
Both account works fine when logging into https://uam1.dexcom.com
Any ideas?
The text was updated successfully, but these errors were encountered: