I am trying to add a file upload field on the form panel of my app and I keep getting an error with the vvupload call about the size of the file. I am not sure how to bypass this error. My code matches the example that Valence has on their reources page and I can connect my RPG back-end program to their example and getthe file uplaoded just fine.

Does anyone else have this problem?

Front end code:
{
xtype: 'panel',
reference: 'ImportPanel',
frame: true,
items: [
{
xtype: 'form',
reference: 'importListForm',
frame: true,
height: 500,
width: 1060,
bodyPadding: 5,
title: 'Import List',
layout: {
type: 'vbox',
align: 'stretch'
},
items: [
{
xtype: 'filefield',
maxWidth: 400,
fieldLabel: 'Select File',
allowBlank: false,
allowOnlyWhitespace: false,
emptyText: 'File'
},
{
xtype: 'hiddenfield',
name: 'sid'
},
{
xtype: 'hiddenfield',
name: 'app'
},
{
xtype: 'hiddenfield',
name: 'pgm',
value: 'EXUPLOAD1'
},
{
xtype: 'hiddenfield',
name: 'buildType'
}
],

Controller code:
onSaveImportListButtonClick: function(button, e, eOpts) {
var me=this,
refs = me.getReferences();

if (!me.getView().isValid()){

} else{

Ext.Ajax.request({
url: '/valence/vvcall.pgm',
params: {
pgm: 'WARLB100',
action: 'saveList',
lstid: me.lstId,
},
scope: me,
success: function(response){
var r = Ext.decode(response.responseText);
if (r.success) {
Valence.util.Helper.msg('SUCCESS.');

refs.importListForm.getForm().setValues([{id:'sid', value: localStorage.getItem('sid')},
{id:'app', value: Ext.getUrlParam('app')},
{id:'buildType', value: refs.buildTypeRadioGroup.getValue()}
]);
refs.importListForm.submit({
url : '/valence/vvupload.pgm',
waitMsg : 'Uploading file...',
success : function(fp, o) {
Valence.util.Helper.msg(o.result.msg);
me.fireEvent('deeplink','lists');
me.fireEvent('removeView',me.getView());
},
failure: function() {
Valence.util.Helper.msg('File Upload Failed');
}
});

} else {
Valence.util.Helper.msg('ERROR occurred.. ',r);
Ext.Msg.alert('Error',r.MSG);
}
},
failure: function(response){
console.log('AJAX call failed:',response);
}
});
}
}