by Nikita S.
I am trying to get the Tin Can API SCORM Mod and the TCAPI plugin to work with Moodle, but am having no luck past a certain point.
I set up a Moodle site using ver. 2.6.5. I then followed all of the instructions on adding both the TCAPI local plugin and the Tin Can SCORM mod including turning on web services and the REST protocol. After the initial setup was complete, I uploaded my TinCan enabled Storyline course as a SCORM package and tried to run it. When I try to run a course I get a "Cannot connect to server." message. If I click cancel from that dialogue the first slide of the course loads, but flash gives me a"Unable to connect to the server. Please verify you can connect to the internet and relaunch the course. Status Code: 400" error. (I am still connected to the internet and logged into Moodle at this point.) When I try to diagnose this issue by using the console in Chrome I see two errors: Failed to load resource: the server responded with a status of 400 (Bad Request) mysite/local/tcapi/endpoint.php/activities/state?method=GET Failed to load resource: the server responded with a status of 400 (Bad Request) mysite/local/tcapi/endpoint.php/statements/?method=PUT If I click either of the links in question with the Bad Request I see this: {"exception":"moodle_exception","errorcode":"invalidtoken","message":"Invalid token - token not found"} I made sure that the user which I'm using to test this has authentication tokens for both the TCAPI plugin and for Mobile web services. Can someone please point me to what I may be doing wrong and how to fix it?