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

Error with connection #78

Closed
wipeautcrafter opened this issue Sep 19, 2017 · 2 comments
Closed

Error with connection #78

wipeautcrafter opened this issue Sep 19, 2017 · 2 comments

Comments

@wipeautcrafter
Copy link

wipeautcrafter commented Sep 19, 2017

When I try to connect to the API, it throws the following error:

error! { fouttype: 'OnvoldoendePrivileges',
  omschrijving: null,
  toString: [Function] }

Is it because the Magister API is constantly updating?
I am using the following code:

var Magister = require('magister.js');
var conn = new Magister.Magister({school: '***', username: '***', password: '***'});
conn.ready((err) => {
	if(err) console.log("error!", err);
	console.log("ready!");
});
@lieuwex
Copy link
Member

lieuwex commented Sep 20, 2017

It is probably indeed because Magister updated the API, I'm not in highschool anymore so I don't have the time or the will to keep maintaining Magister.JS. See #73 and #76.

@Wqrld
Copy link

Wqrld commented Nov 9, 2017

magister.js still works for me ( appart from that my account is now blocked because of it) so i guess either your school uses a special system or you messed up your username | pw | schoolname

@lieuwex lieuwex closed this as completed Nov 6, 2018
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

3 participants