guitmz/n26

401 Unauthorized

Opened this issue · 3 comments

Hi, is this library still supposed to work?
I am asking since there weren’t that many updates in recent time and I am running into a 401 Unauthenticated (with empty body) response during initialization of an n26.Client object.
On my side I receive the following error

2023/11/22 02:18:50 Unexpected response from authentication request

I am trying to query data using the following code:

authInfo := n26.Auth{
		UserName:    "<username>",
		Password:    "<password>",
		DeviceToken: "<uuid>",
	}
	n26Client, _ := n26.NewClient(authInfo)
	n26Client.GetSpaces("")

Thanks in advance!
BR Dennis

I'm seeing this as well. This used to work 6 weeks ago when I last run it.

I assume n26 might have changed something on their end

It looks like they have disabled the api and moved to Graphql like discussed by @guitmz in #22

Hi, any news on this? :)