Open mogadanez opened 2 years ago
hm... interesting. seems my browser added header Accept-Encoding: gzip, deflate, br and it fail with it.
@mogadanez your ticket helped me as i was banging my head for hours on this as well!! What i ended up doing was adding the code below to the lrs.js file!
delete options.headers["accept-encoding"];
I did setup catapult with cloud lrs.io
more or less working but I have strange issue in with call to
GET /api/v1/sessions/21/lrs/activities/state
Added few console.logs at
cts/service/plugins/routes/v1/sessions.js
on package initialize I'm getting:
But strange thing is - if I do copy as CURL and repeat it from postman - it works fine and show: