agentsclimarketplace

Mindtickle common errors

Skill jeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/mindtickle-pack/skills/mindtickle-common-errors

'Diagnose and fix MindTickle common errors.From its SKILL.md

Install
npx -y skills add jeremylongshore/claude-code-plugins-plus-skills --skill mindtickle-common-errors

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.8 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

MindTickle Common Errors

Overview

MindTickle's API powers sales enablement workflows including course management, quiz administration, user provisioning via SCIM, and coaching analytics. Common integration errors include course access denied when user roles are misconfigured, quiz scoring discrepancies from version mismatches, and SCIM provisioning conflicts during bulk user imports from HR systems. The most frequent issue is 403 on course content access -- this almost always means the user is not enrolled, not that the API key lacks permissions. This reference covers authentication, content delivery, and user management errors that affect MindTickle platform integrations.

Error Reference

CodeMessageCauseFix
401Invalid API keyKey expired or revokedRegenerate at MindTickle Admin > Integrations > API Keys
403Access deniedAPI key lacks admin-level scopeRequest admin API key from MindTickle account owner
403Course access deniedUser not enrolled or role insufficientEnroll user in course via admin API before content access
404Module not foundInvalid module/course/user/team IDList available modules first; IDs change between environments
409SCIM user conflictEmail already provisioned via different identity providerResolve duplicate in MindTickle Admin > Users > Merge
422Quiz scoring errorAnswer key version mismatch after quiz updateRe-publish quiz to sync answer keys; re-grade affected attempts
429Rate limitedExceeded 60 requests/minuteImplement exponential backoff; batch user operations
500Report generation failedAnalytics query too broad or timeoutNarrow date range and team scope; retry after 30 seconds

Error Handler

interface MindTickleError {
  code: number;
  message: string;
  category: "auth" | "rate_limit" | "validation" | "scim";
}

function classifyMindTickleError(status: number, body: string): MindTickleError {
  if (status === 401) {
    return { code: 401, message: body, category: "auth" };
  }
  if (status === 429) {
    return { code: 429, message: "Rate limited", category: "rate_limit" };
  }
  if (status === 409 && body.includes("SCIM")) {
    return { code: 409, message: body, category: "scim" };
  }
  return { code: status, message: body, category: "validation" };
}

Debugging Guide

Authentication Errors

MindTickle API keys are passed via Authorization: Bearer header. Keys are scoped to admin or read-only access levels. Most write operations require admin scope. Keys are automatically revoked when the issuing admin's account is deactivated -- re-issue from an active admin account.

Rate Limit Errors

The API enforces 60 requests/minute per key. User provisioning operations (SCIM) share the same limit as content APIs. Batch user creation using SCIM bulk endpoints instead of individual POST calls. Use Retry-After header and implement exponential backoff starting at 2 seconds. Analytics report generation is throttled more aggressively at 10 requests/minute.

Validation Errors

Course enrollment must precede content access -- a 403 on course content means the user is not enrolled, not that the API key is wrong. Quiz scoring errors occur when a quiz is updated after users have submitted attempts; re-publish the quiz and trigger re-grading. Module IDs differ between staging and production environments.

Error Handling

ScenarioPatternRecovery
Course access denied for userUser not enrolledEnroll via admin API, then retry content access
SCIM provisioning conflictDuplicate email from different IdPMerge user records in admin panel, then retry
Quiz score discrepancyAnswer key version mismatchRe-publish quiz, trigger re-grade for affected users
Bulk user import partial failureSome emails already existParse error response, skip existing, retry new users
Report timeoutQuery scope too broadAdd date range filter and limit to specific teams

Quick Diagnostic

# Verify API connectivity and key validity
curl -s -o /dev/null -w "%{http_code}" \
  -H "Authorization: Bearer $MINDTICKLE_API_KEY" \
  https://api.mindtickle.com/v2/users/me

Resources

Next Steps

See mindtickle-debug-bundle.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.