FAQs

WHY CAN’T I USE CUSTOM EXTENSIONS IN QUERIES?

When Learning Locker stores extensions, the dots in the keys are replaced with &46; because Mongo does not allow dots in keys. You can find more information in the Connection HTTP Interface documentation and the Aggregation HTTP Interface documentation.

WHY ARE MY QUERIES RUNNING SLOWLY?

It’s likely that you are querying without utilising Mongo indexes. You can improve the performance of your queries by utilising Mongo indexes. More information is available in the Connection HTTP Interface documentation and the Aggregation HTTP Interface documentation.

WHY AM I GETTING AN UNAUTHORISED ERROR USING THE XAPI?

It’s likely that you’ve either misconfigured your “Client” in Learning Locker or you’re using an incorrect “Authorization” header. To correctly configure your Client and use the correct Authorization header, we recommend that you firstly follow our documentation for creating a “Store” in Learning Locker. Creating a Store will automatically create a new Client that is enabled with the correct scopes and associated to the Store you created. Therefore, once you’ve created a Store, go to Settings > Clients and find the new Client. The new Client will have a “Basic auth” token which you can use as the value for your “Authorization” header in any HTTP requests to the xAPI (be sure to prepend “Basic “ to the start of the token).

Learning Locker and the Squirrel logo are trademark of Learning Pool 2020 | Learning Locker is licensed under GPL 3.0.