# Bonita BPM 7.4 - Error on Upload File

**URL:** <https://community.ofelia.com/t/bonita-bpm-7-4-error-on-upload-file/8191>\
**Category:** Q&A\
**Created:** [9 February 2017 03:34 UTC](https://community.ofelia.com/t/bonita-bpm-7-4-error-on-upload-file/8191 "2017-02-09T03:34:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozstudio82](https://avatars.discourse-cdn.com/v4/letter/o/49beb7/32.png) [@ozstudio82](https://community.ofelia.com/u/ozstudio82)\
**Post date:** [9 February 2017 03:34 UTC](https://community.ofelia.com/t/bonita-bpm-7-4-error-on-upload-file/8191/1 "2017-02-09T03:34:33Z")

</div>

New to Bonita BPM, currently starts using version 7.4 Community Edition.

Trying to start a new request with few input and also File(supporting doc for request approval) upload, when click on submit button, the form is not submitted. Checking from bonita.log, noticed the following error message:

2017-02-09 11:29:54.838 +0800 INFO: org.restlet.Component.BonitaRestletApplication Error while validating expected inputs  
Explanations:  
FileInputValue{fileName=‘reupload.txt’} cannot be assigned to FILE

How can I resolve this?

---

<div class="post-metadata">

**Author:** ![mvpdev](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@mvpdev](https://community.ofelia.com/u/mvpdev)\
**Post date:** [9 February 2017 15:09 UTC](https://community.ofelia.com/t/bonita-bpm-7-4-error-on-upload-file/8191/2 "2017-02-09T15:09:38Z")

</div>

Hi ozstudio82,  
does you solve your error?

How do you create your form, variables like formInput and formOutput, and your contract ?

Cheers,  
Marcos Vinícius Pinto

---

<div class="post-metadata">

**Author:** ![Dibyajit.Roy](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Dibyajit.Roy](https://community.ofelia.com/u/Dibyajit.Roy)\
**Post date:** [9 February 2017 10:03 UTC](https://community.ofelia.com/t/bonita-bpm-7-4-error-on-upload-file/8191/3 "2017-02-09T10:03:47Z")

</div>

Hi

I had a similar error .  
I followed the Below Links and I was able to Resolve my Issue.

1. [http://community.ofelia.com/node/23051#node-23054](http://community.ofelia.com/node/23051#node-23054)
2. [http://community.ofelia.com/questions-and-answers/how-modify-document-list-content](http://community.ofelia.com/questions-and-answers/how-modify-document-list-content)

---

<div class="post-metadata">

**Author:** ![Dibyajit.Roy](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Dibyajit.Roy](https://community.ofelia.com/u/Dibyajit.Roy)\
**Post date:** [10 February 2017 12:29 UTC](https://community.ofelia.com/t/bonita-bpm-7-4-error-on-upload-file/8191/4 "2017-02-10T12:29:16Z")

</div>

Hi

My Scenario was that I declared My Contract with a File (Multiple) .  
Now I was using a Multi Instantiated task.  
All the Files Uploaded was added to the contract using Groovy Script.  
I could share the Code I used. Its Similar to the Example ( link that I shared).  
Perhaps you could Explain a bit about the Process that you are following.  
Like what have you defined in your contract and how you have declared form data.
