# Precondition Failed

**URL:** <https://www.ruby-forum.com/t/precondition-failed/64661>\
**Category:** Radiant CMS\
**Created:** [August 15, 2006, 2:13pm UTC](https://www.ruby-forum.com/t/precondition-failed/64661 "2006-08-15T14:13:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [August 15, 2006, 2:13pm UTC](https://www.ruby-forum.com/t/precondition-failed/64661/1 "2006-08-15T14:13:32Z")

</div>

Ok, this is beginning to irk me. On random occasions, when I’m creating  
a  
new page in Radiant, and I try to save the page, it will give me a white  
error page the says “Precondition Failed” at the top. What causes this  
and  
how can I avoid it, or is it a bug that needs to be worked out? It most  
often happens on longer pages; is there a size limit?

Sean C.  
[seancribbs.com](http://seancribbs.com)

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [August 15, 2006, 2:13pm UTC](https://www.ruby-forum.com/t/precondition-failed/64661/2 "2006-08-15T14:13:45Z")

</div>

It looks like your web host may be to blame. I had the same error  
message when trying to submit a ticket for Radiant:

[http://lists.radiantcms.org/pipermail/radiant/2006-August/001201.html](http://lists.radiantcms.org/pipermail/radiant/2006-August/001201.html)

I don’t know what a good solution is, besides never talking about  
internet protocols or file paths in messages submitted by web forms.  
You may have to talk to your hosting provider.

James

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [August 15, 2006, 2:13pm UTC](https://www.ruby-forum.com/t/precondition-failed/64661/3 "2006-08-15T14:13:47Z")

</div>

Sean C. wrote:

> Ok, this is beginning to irk me. On random occasions, when I’m creating a  
> new page in Radiant, and I try to save the page, it will give me a white  
> error page the says “Precondition Failed” at the top. What causes this and  
> how can I avoid it, or is it a bug that needs to be worked out? It most  
> often happens on longer pages; is there a size limit?

Servers often have rules for posts defining what words fields can  
contain and the length, etc… Precondition Failed error messages are  
the result of this. I don’t think there is anything I can do for you on  
my end. Check with your system administrator.

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [August 15, 2006, 2:13pm UTC](https://www.ruby-forum.com/t/precondition-failed/64661/4 "2006-08-15T14:13:49Z")

</div>

Thanks, guys. I’ll be contacting TextDrive.

Sean

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [August 15, 2006, 2:15pm UTC](https://www.ruby-forum.com/t/precondition-failed/64661/5 "2006-08-15T14:15:18Z")

</div>

On Aug 10, 2006, at 8:15 AM, Sean C. wrote:

> > error page the says “Precondition Failed” at the top. What
> 
> removed\_email\_address@domain.invalid  
> [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

Sean-

```
That Precondition Failed error is from mod_security. Textdrive runs

```

that on all their shared servers. So something in the url you are  
trying to reach has triggered mod\_security filter.

-Ezra
