Leonardo Valentin Zeferino
Posts: 0
Joined: Fri May 29, 2015 2:07 pm

Apperyio.FileUploadHelper is not a constructor

Hi!

When I test my app, whatever screen I open, the system show me this message at console:

FileUploadHelper.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
service.js:1383 Uncaught TypeError: Apperyio.FileUploadHelper is not a constructor

When I open the service.js at line 1383, I have this code bellow:

codeCordovaFileUpload = new Apperyio.FileUploadHelper({

Code: Select all

 "serviceName": "CordovaFileUpload", 
 'serviceSettings': FileUpload_settings 

 , 
 'defaultRequest': { 
     "data": { 
         "request_options": { 
             "headers": { 
                 "Connection": "Close", 
                 "X-Appery-Database-Id": "{database_id}", 
                 "X-Appery-Master-Key": "{database_master_key}" 
             } 
         } 
     } 
 } 

});/code

Do you know what can be the problem?

I checked and the FileUpload_settings and all parameters are correct.

Thanks

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Apperyio.FileUploadHelper is not a constructor

Hello Leonardo,

Please clarify, how did you create this JS file? With Create new - from plugin?

Did you make any changes in the source view? This (http://devcenter.appery.io/tutorials/...) doc should help.

Leonardo Valentin Zeferino
Posts: 0
Joined: Fri May 29, 2015 2:07 pm

Apperyio.FileUploadHelper is not a constructor

Hi!

I think it was a cache issue. Solve it.

Thanks.

Return to “Issues”