Docs · Publish a document
When a document won’t publish (or shows “under review”)
There are two different outcomes: one stops the publish and the other doesn’t. If it says “The document wasn’t published,” there’s something specific to fix in the file. If it says “under review,” your document is already up and working.
Why this filter exists
Cartaventa serves HTML we didn’t write, from a domain we own, to people who trust the link they got. That’s exactly what someone setting up a phishing page is looking for. The filter is what keeps Cartaventa a domain people can trust, for your clients and for you.
What stops the publish
| Notice | What triggers it | How to fix it |
|---|---|---|
| The document contains a password field | An <input type="password"> in the document |
Remove it. A proposal doesn’t ask for passwords. |
| The document asks for credentials or payment details in a form | A field named password, card-number, cvv, cvc, pin… |
Remove the field. To get paid, link to your payment provider’s checkout page; it opens in a new tab. |
| A form sends data to an external domain | A <form action="https://another-site.com/…"> |
Remove the form. To get a reply, use a mailto: link or a WhatsApp link. |
| Over 5 MB, even with the images compressed | Lots of images, or images we can’t compress (animated, SVG, or loaded from a URL) | Drop the images that don’t add anything, or ask your AI for a lighter version. |
| An image is over 40 megapixels | A huge photo or scan embedded in the document | Shrink that image before you ask your AI to embed it. |
It’s almost always your AI trying to be helpful: you asked for “a proposal with a form to accept it” and it built you a real form. Paste the notice back to it, word for word, and ask it to replace the form with a link.
If the notice says you uploaded 30 documents or versions in the last hour, there’s nothing to fix in the file: it’s a cap so an agent iterating on its own can’t publish nonstop. Wait the number of minutes the notice shows. Importing a PDF never gets stopped by this, although it does count toward the total.
What publishes but gets flagged
These don’t stop you: the document publishes, works, and you can share it. It just goes into a queue for a person on our team to review.
- A third-party iframe. An embedded YouTube video, a Calendly widget, a map. Heads up: besides being flagged, it won’t load. Swap it for a link.
- Obfuscated JavaScript. Compressed or unreadable code, usually from pasting in a minified library. Ask your AI for readable code.
- It mentions a bank, search engine, or email provider brand. If your proposal is for a bank, its name is going to show up, which is why this gets flagged instead of blocked.
- Too large or complex to analyze fully. This happens with files close to the limit.
If your document was flagged, you’ll see a yellow Flagged for review notice in its Details with the exact rule.
The prompt to fix it
When a document bounces, don’t rebuild the proposal. Go back to your AI with the file and this:
Cartaventa rejected this HTML file with this notice:
"[paste the notice here, word for word]"
Fix ONLY what triggers that notice, without changing the content, the design or the
numbers in the proposal. Then check the whole file against these rules and fix
anything else that breaks them:
- No <script src="..."> and no <link> to external stylesheets: no CDN, no libraries.
- No iframes or embedded video.
- No forms that submit data: use mailto: or a WhatsApp link.
- No localStorage, sessionStorage or cookies.
- No alert(), confirm(), prompt() or window.print().
- No password, credit card, bank account, CVV or PIN fields.
Give me the complete .html file, ready to upload.
Next
Upload a new version: if the document was already shared, that’s how you upload the fix without sending new links.
Something missing from this guide? Message us on WhatsApp and we’ll fix it. You can also read it in Markdown, ready to paste into your AI, at /en/docs/when-a-document-wont-publish.md.