SDK Troubleshooting
Common @earlyseo/blog SDK issues and quick fixes for Next.js and React setups.
Use this page when your SDK integration is configured but content is not rendering as expected.
Quick checklist
- SDK integration is active in EarlySEO
- Article status is published (not draft)
EARLYSEO_SITE_IDmatches the site in EarlySEO- Frontend reads from
media.earlyseo.com
No articles on /blog
Possible causes:
- Wrong site ID
- No published articles yet
- Published to a different site/workspace
Fix:
- Verify site ID in env or provider config
- Publish one test article from EarlySEO
- Reload
/blog
404 on /blog/[slug]
Possible causes:
- Slug does not exist in CDN yet
- Page path does not match your
basePath
Fix:
- Open
/blogand copy a valid slug - Check your route and
basePathconfig - Republish the article once to refresh CDN files
Environment variable not picked up
Possible causes:
- Missing
.env.localentry - Dev server not restarted
- Wrong variable name
Fix:
- Use exactly
EARLYSEO_SITE_ID - Restart dev server after env changes
- Log the value in development to confirm
Content styles look broken
Possible causes:
- Raw mode enabled without custom CSS
- Theme CSS overriding article classes
Fix:
- Start with styled mode (default)
- If using
htmlMode: "raw", add your own CSS rules - Review theming options in Article Theming
CORS or fetch errors
Possible causes:
- Custom proxy misconfiguration
- Wrong CDN URL
Fix:
- Use default CDN (
https://media.earlyseo.com) - Remove custom proxy temporarily and test direct fetch
Pagination issues
Possible causes:
- Incorrect
basePath - Client-side route conflicts
Fix:
- Keep
basePathaligned with your routes - Confirm
?page=query param is preserved in links
Integration says connected but content is stale
Possible causes:
- Recent publish not completed
- Old browser cache
Fix:
- Republish latest article from dashboard
- Hard refresh browser
- Recheck list JSON and article JSON URLs directly
Still stuck?
Share these details with support:
- Site ID
- Article slug
- Frontend URL
- Which guide you followed: Next.js SDK Guide or React SDK Guide
- Any console/network errors
Copy/paste diagnostics template
Use this template when contacting support:
Site ID:
Frontend URL:
Framework: Next.js | React | Other
Guide followed: /docs/next-sdk | /docs/react-sdk
Issue summary:
Observed behavior:
Expected behavior:
Article slug (if relevant):
List JSON URL tested:
https://media.earlyseo.com/site/{siteId}/articles/page-1.json
Article JSON URL tested:
https://media.earlyseo.com/site/{siteId}/article/{slug}.json
Console errors:
Network errors:
Recent changes before issue started:Flask SDK Guide
Add an EarlySEO blog to your Flask application with the earlyseo-blog Python package. Blueprint setup, Jinja templates, and configuration.
Article Theming
How EarlySEO articles adapt to your site's theme across all integrations — CSS custom properties, clean HTML delivery, and per-platform behavior.