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 no longer automatically creates a new client, so to create a client that’s associated to your Store and enabled with the correct scopes, click on the Create client button on the Store list item and follow the link to the Clients page (or go to
Settings > Clients) to 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).