Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Data is being uploaded to Nightscout #64

Closed
Birkertf opened this issue Aug 31, 2022 · 6 comments
Closed

No Data is being uploaded to Nightscout #64

Birkertf opened this issue Aug 31, 2022 · 6 comments

Comments

@Birkertf
Copy link

After setting everything up, this log appears, no data is being uploaded to Nightscout.

Has anybody got an Idea what to do?

2022-08-31T08:10:01.281280+00:00 app[worker.1]: [info]: -> The following connection will be used: Fabian Birkert (Patient-ID: 3cd57fc6-***********-8126-02d09c370615)
2022-08-31T08:10:06.514459+00:00 app[worker.1]: [error]: {"status":401,"message":"Unauthorized","description":"Invalid/Missing"}
2022-08-31T08:10:06.514621+00:00 app[worker.1]: [info]: Upload of 139 measurements to NightScout succeeded
@timoschlueter
Copy link
Owner

Have you checked your nightscout API token? It seems that the token you set is not valid and nightscout returns a 401 Unauthorized response. Have you created a new token specifically for librelinkup?

@Birkertf
Copy link
Author

The token is the same as the one i set up in Nightscout...

Any other idea?

@sfgul
Copy link

sfgul commented Sep 19, 2022

Hello
how to create new token?

@timoschlueter
Copy link
Owner

You have to open the Admin Tools after authenticating with your main Nightscout admin token. Within the Admin Tools, you can create a new Subect (pink arrow). Make sure that you give the subject a name and a role with read and write capabilities (or simply admin, if you don't care about fine-grained control). After that you can find the access token to use with this application under Access Token in the list of subjects (green arrow):

image

@sfgul
Copy link

sfgul commented Sep 20, 2022

Thank you so much :)

@Chapagain43
Copy link

Chapagain43 commented Oct 5, 2022

EDIT: Deleted earlier comment
had an issue with writing to Nightscout... found out that I had "https://" followed by the site address... "https://" is not needed, soon as I took this out from the heroku config vars it started to write

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants