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

Bad request for NRPS on moodle #25

Open
abanghendri opened this issue Feb 7, 2023 · 0 comments
Open

Bad request for NRPS on moodle #25

abanghendri opened this issue Feb 7, 2023 · 0 comments

Comments

@abanghendri
Copy link

Hi,
I'm integrating LTI advantage to my system as a tool provider, and I use moodle to act as consumer to test if my system work as tool, everything works fine, but when I try using NRPS service I always got this error

OAT \ Library \ Lti1p3Core \ Exception \ LtiException (400)
Cannot get context membership: Cannot get access token: Client error: `POST http://moodle.local/mod/lti/token.php` resulted in a `400 Bad Request` response: { "error" : "Cannot handle token prior to 2023-02-07T16:09:29+0700" } 

Previous exceptions

Cannot get access token: Client error: `POST http://moodle.local/mod/lti/token.php` resulted in a `400 Bad Request` response: { "error" : "Cannot handle token prior to 2023-02-07T16:09:29+0700" } (400)

Client error: `POST http://moodle.local/mod/lti/token.php` resulted in a `400 Bad Request` response: { "error" : "Cannot handle token prior to 2023-02-07T16:09:29+0700" } (400)


How to fix this error? is it moodle's error or it happen on this library?

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