# Can't attach PDF files?

**URL:** <https://community.ofelia.com/t/cant-attach-pdf-files/7566>\
**Category:** Q&A\
**Created:** [5 July 2016 15:49 UTC](https://community.ofelia.com/t/cant-attach-pdf-files/7566 "2016-07-05T15:49:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![claz08](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@claz08](https://community.ofelia.com/u/claz08)\
**Post date:** [5 July 2016 15:49 UTC](https://community.ofelia.com/t/cant-attach-pdf-files/7566/1 "2016-07-05T15:49:33Z")

</div>

Hi,

I don’t know , why i can’t to attach PDF files. I have tried to attach another type of files such as : jpg,png,doc,txt…and so on, and all is working good.

Where is the error?

regards.

---

<div class="post-metadata">

**Author:** ![claz08](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@claz08](https://community.ofelia.com/u/claz08)\
**Post date:** [5 July 2016 16:09 UTC](https://community.ofelia.com/t/cant-attach-pdf-files/7566/2 "2016-07-05T16:09:34Z")

</div>

i have been reviewing some documents and i think the problem is that , the file size is bigger that others

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [6 July 2016 02:06 UTC](https://community.ofelia.com/t/cant-attach-pdf-files/7566/3 "2016-07-06T02:06:42Z")

</div>

Hi,

How big is the file?

Thanks

---

<div class="post-metadata">

**Author:** ![claz08](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@claz08](https://community.ofelia.com/u/claz08)\
**Post date:** [6 July 2016 08:49 UTC](https://community.ofelia.com/t/cant-attach-pdf-files/7566/4 "2016-07-06T08:49:06Z")

</div>

Aproximatelly 2MB

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [6 July 2016 16:39 UTC](https://community.ofelia.com/t/cant-attach-pdf-files/7566/5 "2016-07-06T16:39:18Z")

</div>

Weird, I did a quick test. And I don’t have any issue. Do you get an error message in the logs?

Thanks

---

<div class="post-metadata">

**Author:** ![claz08](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@claz08](https://community.ofelia.com/u/claz08)\
**Post date:** [6 July 2016 17:34 UTC](https://community.ofelia.com/t/cant-attach-pdf-files/7566/6 "2016-07-06T17:34:14Z")

</div>

Well, i’m going explain you:

i have reviwed the bonita documentation, and i have seen that there are a config file named forms-config.properties. Into this file we can to change the limite value of size of a file, so i have changed the value from 15 to 30 (values in MB), but my suprise, is that it doesn’t working , is that when i’m trying to attach a file that it has 20 MB, it is shows me an error message like this:

_Failed to submit the form._

please i need to solve this issue as sonn as possible.

many thanks.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [7 July 2016 03:13 UTC](https://community.ofelia.com/t/cant-attach-pdf-files/7566/7 "2016-07-07T03:13:39Z")

</div>

Oh my bad, I thought you said 2Mb. I will give it a try.
