Skip to content

Invalid session error #117

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

Open
NewSkyLine-dev opened this issue Apr 23, 2025 · 0 comments
Open

Invalid session error #117

NewSkyLine-dev opened this issue Apr 23, 2025 · 0 comments

Comments

@NewSkyLine-dev
Copy link

When trying to get the exams using .getExamsForRange(...), I get the following error:

(node:7534) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error: Current Session is not valid
    at _Base.getExamsForRange (.../node_modules/.pnpm/[email protected]/node_modules/webuntis/src/base.ts:609:71)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)

Is this because Untis has switched to the new API?

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

1 participant