# Troubleshooting a course import

Return to [Import a course](../authoring.html).

| Message or symptom | What to do |
| --- | --- |
| Invalid JSON | Return a plain UTF-8 `.json` file, without Markdown fences, comments, or trailing commas. JSON LaTeX backslashes must be doubled. |
| Unknown field / required / unsupported value | Use the exact field path shown by the checker and compare it with the schema. Do not guess extra fields. |
| The answer needs a tool which is not offered | Add that symbol to the palette, digit to digits, or structural control to operations. Check that the control is supported by the actual tray. |
| Verbatim/recall card rejected | Use `engine:"mixed-cards-v1"` and the documented `type:"verbatim"` contract. See [the German example](german-recall-example.json); internal recall files alone are not course imports. |
| Row matrix fails in a product | One-row matrices become tuples. Use a transposed column vector; see the notation reference. |
| Reconstructed answer cannot be parsed | Check balanced delimiters, function argument counts, and the supported-symbol reference. A row does not add parentheses. |
| Reconstructed answer is not recognized | Check symbol types and notation. Supply a smaller example; don't change assumptions to make an incorrect expression pass. |
| Invalid LaTeX / unmatched math delimiters | Use paired `$...$` in prose. Fix the displayed TeX error and re-import. |
| A published course cannot be replaced | Give your own course a new stable course ID. Do not reuse `differential-geometry`. |
| Learning version cannot go backwards | Keep the current version for wording changes, or increase it for a changed learning objective. |
| Draft changed in another tab | Reload the import file and review the fresh change summary before replacing it. |
| Browser storage is full or unavailable | Keep your source JSON safely. Try a normal browser window with storage enabled; importing is not a backup service. |
| Course disappeared on another device or after clearing browser data | Local drafts do not sync, even when signed in. Import the saved JSON again. |
| AI cannot open the links | Download the instructions, notation reference, schema, and example, then attach those files to the AI conversation. |

## Asking your AI to repair a file

Send the complete original JSON and copy the error message, including the card ID
and field path. Ask for a corrected JSON file that keeps the existing IDs. Import
that file again, review the changes, and only then choose Replace local draft.
If the checker passes but the editor rejects an equivalent answer, include the
card ID, the attempted equation, expected equation, and a screenshot.

## Sending a first course for review

Send the saved JSON to the person who invited you using your existing conversation
with them. Include the source links, which cards you tried, and any limitations you
encountered. Alternatively, ask the owner for a scoped submission token and follow
the [API instructions](api.md) to submit to the proposal inbox.
Do not send passwords, Google client secrets, Supabase keys, or access tokens.
The recipient can import your JSON into their own browser and test it; publishing
it for everyone is a separate step handled by the app owner.
