Instructor view as student in LTI.3 receive an error bad request
jeewani.lakshani@pearson.com
Posts: 3 🌱
After creating a course in D2L LMS and paired the content with external tool, when I try to view it as a student launching the LTI 1.3 I receive the following error.
timestamp | 1765531328920 |
status | 400 |
error | "Bad Request" |
exception | "java.lang.NullPointerException" |
message | 'Cannot invoke "String.toLowerCase()" because "roles" is null' |
path | "/dashboard/347764f9-7c78-4b50-a3b2-8bd7ae85ca06" |
D2L Behavior:
D2L sends the same user ID in the sub field for both:
- Instructor view.
- View as Student mode.
Because D2L does not provide a unique user ID for View as Student the course launch does not work as intended.
The root cause is that D2L does not differentiate the user ID between instructor and View as Student mode.
Please assist us with this.
Tagged: