stenjo / SbankenToYNAB

Importing data from Sbanken to YNAB using Sbanken API and python 3
25 stars 5 forks source link

Grants required - HTTP 401 #26

Closed adrianke closed 3 years ago

adrianke commented 3 years ago

It appears that you must grant the following access to your token in Sbanken Utviklerportal: "Grants access to perform operations on APIBeta APIs (aka. developer portal)". Without this, every request return HTTP 401.

I think this changed when the base domain was changed, as it worked before I pulled the latest changes from git.

I spent quite some time to debug this, so the README should probably get updated with this detail. I already had every read access granted and thus thought that the grants were fine.

stenjo commented 3 years ago

Yes you are right of course. Would be good if you were able to create a PR on this, or suggest text for the readme.

tir. 8. jun. 2021 kl. 10:58 skrev Adrian Kjær Dalhaug < @.***>:

It appears that you must grant the following access to your token in Sbanken Utviklerportal: "Grants access to perform operations on APIBeta APIs (aka. developer portal)". Without this, every request return HTTP 401.

I think this changed when the base domain was changed, as it worked before I pulled the latest changes from git.

I spent quite some time to debug this, so the README should probably get updated with this detail. I already had every read access granted and thus thought that the grants were fine.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stenjo/SbankenToYNAB/issues/26, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFDIMRUVDMZDNPV4CJWRZDTRXLUBANCNFSM46JN6B5Q .

-- /Sten

Sten Johnsen http://thinea.no @.*** - 915 80 061

stenjo commented 3 years ago

Thanks for your input. README is updated and hopefully other adopters will not have the same issues as you have had.