lovablehtml logo - turn your SPA into a crawler-friendly websiteBLOGAPI PLATFORMPRICING

Error Codes

Common error codes returned by the LovableHTML API.

All API endpoints return JSON error bodies with a consistent structure. Below are the common error codes across all endpoints.

Error Reference

CodeErrorDescription
401missing_api_keyNo API key provided in headers
401invalid_api_keyAPI key is invalid or revoked
403domain_not_ownedTarget domain is not connected to your account (does not apply to API Platform users)
403api_key_domain_scope_mismatchAPI key is valid but scoped to a different domain
403no_seo_spider_accessYour plan does not include SEO Spider access
403on_demand_limit_reachedMonthly on-demand SEO audit limit reached
403prompt_limit_reachedPlan prompt monitor allocation exceeded. Upgrade your plan or deactivate existing prompts.
409run_already_activeAn SEO audit is already running for this domain

Best Practices

  • Send Accept header — Always include Accept: text/html for bot/crawler requests to maximize prerender success.
  • Rotate API keys — Regularly rotate and revoke compromised keys from your dashboard.
  • Use prewarm wisely — Enable prewarm for critical pages to ensure instant cache hits after invalidation.
  • Handle 304 responses — When you get a 304, follow the Location header or fetch directly from origin.

API Collections

Explore and test the API using these interactive platforms:

Avatar
How can we help?
Get instant answers to your questions or leave a message for an engineer will reach out
Ask our assistant anything
See our docs
Leave a message
Leave a message
We'll get back to you soon
Book a Meeting
Select a date & time
Avatar
Support Assistant
We typically reply instantly
Thinking
Preview
Powered by ReplyMaven
Avatar
Support Assistant
Hi, how can we help?