API troubleshooting
This is just a brain dump of various problems that have been encountered with the API and their solutions. ## Admin can’t see anything The administrator has most likely dropped out of theadmin group in the Groups collection in MongoDB.
Error submitting work requests
If you get something like:$links doesn’t have what it should in it
This sounds like a problem with the cache - see caching for more details.Tests aren’t running
Usually means it can’t create a directory in the cache. Try:db.dropDatabase(); on your local test database in MongoDB. If a test has crashed, it may have left partial test data in there.
Timezone database is corrupt - this should never happen
Disable xdebug and restart nginx. (not 100% sure this is the cause but it seems to resolve it)Auto running Kahlan tests
Nodemon does the job:xdescribe for a block of tests, then you can have a nice fast test autorunner!
Back to docs index | API docs index | Next page in recommended reading order >>