Troubleshooting
Having trouble? Here are solutions to the most common issues.
Kernel Issues
"Kernel failed to connect"
The kernel couldn't establish a connection to the execution backend.
Solutions:
- Refresh the page and try connecting again
- Check your internet connection
- Wait 30 seconds and retry—our infrastructure may be scaling
"Kernel disconnected unexpectedly"
Your session lost its connection to the kernel.
Solutions:
- The kernel will auto-reconnect when you return to the tab
- You can also click the kernel button to reconnect manually
- Any cells you run while disconnected will queue and execute once reconnected
- Your notebook content is safe—it's saved separately from the kernel
- Variables will be lost; re-run your cells from the top
"Out of memory" or kernel crashes
Your code exceeded memory limits.
Solutions:
- Clear large variables:
del large_dfthenimport gc; gc.collect() - Load data in chunks for large files
- Use more efficient data types:
df['col'].astype('category') - Restart the kernel and try with a smaller sample first
# Load with explicit sample size to test
df = margin.load("big_file", sample=10000)
Code cell won't stop running
A cell is taking too long or stuck in an infinite loop.
Solutions:
- Click the Stop button in the toolbar
- If that doesn't work, restart the kernel from the ⋮ menu
- Check your code for infinite loops or blocking operations
Dataset Issues
"Dataset not found"
The margin.load() call can't find your file.
Solutions:
- Check the exact filename in the Datasets page
- Try using the display name instead of filename
- Ensure the dataset finished uploading (check for green checkmark)
# List available datasets to see exact names
import margin
for ds in margin.list_datasets():
print(ds.name, '-', ds.display_name)
Upload stuck or failed
File upload didn't complete.
Solutions:
- Check file size is under 50 MB
- Verify file format is CSV, JSON, JSONL, or Parquet
- Try a different browser
- For large files, compress and re-upload, or use Parquet format
Dataset preview shows wrong data
The preview table doesn't match what you expect.
Solutions:
- Preview shows first 100 rows only—your data may vary later
- Check for encoding issues in your source file (use UTF-8)
- CSV parsing may interpret columns differently—load and check dtypes
Brief Issues
Artifacts not showing
Embedded charts/tables don't appear in your brief.
Solutions:
- Make sure the source notebook is saved
- Re-run the cell that generates the output
- Check that the output type is supported (table, chart, image, text)
- Try removing and re-inserting the artifact
Can't insert artifacts
The artifact insertion modal is empty or disabled.
Solutions:
- Ensure your brief is linked to a notebook (check brief settings)
- Run cells in your notebook to generate outputs
- Save the notebook before trying to insert
Brief won't save
Changes aren't persisting.
Solutions:
- Check for a red error indicator
- Refresh and check if changes actually saved (they often did)
- Try a shorter brief—very long content may timeout
- Clear browser cache and retry
Account Issues
Can't log in
Authentication is failing.
Solutions:
- Check your email address is spelled correctly
- Use the Forgot password link to reset
- Check your email for verification link (including spam folder)
- Try a different browser or incognito mode
Email verification not arriving
You signed up but didn't get the confirmation email.
Solutions:
- Check spam/junk folder
- Wait 5 minutes—email can be delayed
- Request a new verification email from the login page
- Check you entered the correct email address
Hit usage limits
You've reached your plan's limits.
Solutions:
- Check usage in Settings → Billing
- Limits reset monthly
- Upgrade to Pro for higher limits
- Delete unused notebooks/datasets to free up space
Display Issues
Charts not rendering
Matplotlib or Plotly charts show errors or blank output.
Solutions:
- Make sure you call
plt.show()for matplotlib - For Plotly, use
fig.show()or just return the figure - Check the console for JavaScript errors
- Try a simpler plot first to isolate the issue
# Matplotlib - always show
import matplotlib.pyplot as plt
plt.plot([1, 2, 3])
plt.show()
# Plotly - works with or without show
import plotly.express as px
fig = px.line(x=[1, 2, 3], y=[1, 4, 9])
fig.show()
LaTeX not rendering
Math equations appear as raw text.
Solutions:
- Use double dollar signs for block equations:
$$E = mc^2$$ - Use single dollar signs for inline:
$x^2$ - Escape underscores in non-math text:
variable\_name - Make sure the cell is Markdown, not code
Table too wide
DataFrames are overflowing the screen.
Solutions:
- Limit displayed columns:
df[['col1', 'col2', 'col3']] - Use pandas options:
pd.set_option('display.max_columns', 10) - The table will scroll horizontally if needed
Performance Issues
Notebook loading slowly
The notebook page takes a long time to open.
Solutions:
- Clear cell outputs before saving large notebooks
- Split very long notebooks into multiple smaller ones
- Avoid embedding large images directly—link to them instead
- Check your internet connection speed
Code execution is slow
Cells take longer than expected to run.
Solutions:
- This is cloud execution—first run of a session warms up
- Check for inefficient code (nested loops, unoptimized pandas)
- Profile your code to find bottlenecks
- For heavy compute, consider running locally and uploading results
Still Stuck?
If none of these solve your issue:
Contact support – Email hello@monumentlabs.io
Include in your message:
- What you're trying to do
- The exact error message (screenshot if possible)
- Browser and OS you're using
- Steps to reproduce the issue