What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Filepicker.IO API error message:"Cannot send results to the application"

    Asked by primeinc on June 06, 2013 at 06:08 PM

    I intigrated JotForm with Filepicker.io so that I could accept pictures from iPhones.

     

    The form gets as far as attaching the file, or capturing it from a camera, however it fails after that.  There is a red HTML error at the top of the screen that gives an error, though it is too quick to actually read.

    Any suggestions?

     

    Page URL:
    http://w3.primeinc.com/prime-photo-contest

    JotForm
  • Profile Image

    Answered by jeanettebmz on June 06, 2013 at 07:36 PM

    Please make sure that all of the options are selected, rather than leaving some unchecked

     

    Otherwise, can you please paste the screenshot with the error here? you would need an image repository to grab the image URL in order to do that

    thanks

  • Profile Image

    Answered by primeinc on June 07, 2013 at 09:33 AM

    I have all options allowed, the problem persists.   A copy of the error can be seen here: Image

  • Profile Image
    JotForm Support

    Answered by KadeJM on June 07, 2013 at 10:47 AM

    I just ran a Test Photo from my iPhone 4S to check this on your Form but I didn't encounter the same error. The photo uploaded and submitted fine. The form redirected me to IO.Picker then back to the form again before and after the upload of the file which appears to have worked flawlessly during the entire process.

    May I ask what iPhone you are using and what iOS Version it is currently running?

    I think that there might've been a small lag or slight bug that occurred which seems to have cleared up as of now but please do let us know if you are still experiencing issues with it.

     

     

  • Profile Image

    Answered by primeinc on June 07, 2013 at 11:00 AM

    I am using an iPhone 4S on Sprint in Missouri, USA, along with Safari and Chrome.   I have the latest iOS available and the latest versions of these apps.  Chrome and Safari both have the required permission of access to photo's.  The image I capture through filepicker.io is not stored into my camera roll.  Location services is enabled.

  • Profile Image
    JotForm Support

    Answered by KadeJM on June 07, 2013 at 11:46 AM

    Hmm, that is very strange. I am also on the same network as you can see via my image with the Provider Name. So from what you are saying then, this has happened to you in both Safari and also Mobile Chrome Browser? My test is only from Mobile Safari, I will download Mobile Chrome and test on it as well to see if I am able to replicate it there perhaps. I will let you know the results and if I can figure out the cause of this issue.

  • Profile Image

    Answered by primeinc on June 07, 2013 at 12:20 PM

    Yes, I have had this issue occur on both browsers.  I just had a buddy with an iPhone 5 on Verizon test, and that worked.   We are both connected to the same WIFI network, so the cellular network shouldn't matter.

    I reset my Safari settings to default, deleting all the data stored in it, then reset my privacy and location services settings.  Then I rebooted my phone.   Now it's working in Safari, not Chrome.

    The exact message shown is "Cannot send results to the application.  Sorry, it's our fault.  Please close the window and try again."

    I disabled WIFI and tried it over cellular data, and I received the same message.

  • Profile Image
    JotForm Support

    Answered by KadeJM on June 07, 2013 at 12:23 PM

    So I finished testing it in Mobile Chrome and I was able to replicate the issue.

    I don't think it's a problem with Us or Mobile Chrome for that matter because in your case in Mobile Chrome it was not redirecting back to the form and the Error Message is then displayed while trying to upload inside of Filepicker.io gateway and platform therefore it's got to be a problem on their end which is beyond our control. If I was to take a good but accurate technical guess with the testing results shown I am now highly convinced that this is a problem with Filepicker.IO's Platform being used on Mobile Chrome and possibly other Mobile Browsers since it occurs when uploading a file via the Filepicker Method.

    Additionally and so far from our end after further testing other then Chrome it is working as it should which is to redirect you to Filepicker so that the file can be uploaded and collected as an attachment and then directed back to the form to be submitted meanwhile the data for the file itself still resides as a connected copy within Filepicker.

    I think at this point you will need to Contact Filepicker.IO's Support (contact@filepicker.io) to see if there is anything known about this problem there and see what they say about it.

     

  • Profile Image

    Answered by primeinc on June 07, 2013 at 12:38 PM

    Thank you, I will contact them.    

  • Profile Image

    Answered by primeinc on June 07, 2013 at 01:30 PM

    Filepicker.io support states that the reason this is failing is because Jotform is using a deprecated version of the filepicker.io API.   I'm told the version of the API that Jotform is using was depriciated 6 months ago.

    Is there any way I can control which version of the API my Jotform uses, or is this something handled on the backed of JotForm?

  • Profile Image
    JotForm Support

    Answered by Mike_T on June 07, 2013 at 03:42 PM

    Thank you for provided information. Please note that integration is hardcoded on the system, so you can not change the API version through the builder.

    I am forwarding a ticket to our Developers to see if the integration can be updated.

    In the meantime, you can add a standard Upload field to the form. It should work on iOS 6 devices (at least on Safari, not sure if Apple allowed the upload on Chrome).

    We will update this thread if we get any news.

  • Profile Image

    Answered by markashton on July 04, 2013 at 11:24 AM

    Hi Mike,

    Was the API updated? Obviously the option you suggest we now know will give all wrong oriented images ... 3/4 of them anyway ... and so is not a solution and makes the Filepicker.io a more credible option than ever.

    Thanks

  • Profile Image

    Answered by jeanettebmz on July 04, 2013 at 12:17 PM

    Hello Mark

    I can see you are waiting an answer for this. Certainly the response time frame for a bug fix or update has improved as  we got more manpower in the developers team.

    However, our developers have been busy with the Jotform API lately, that is why you don't see enough new features and bug fixes in my latests updates

    Hopefully the update for Filepicker Update will be released soon. I will  be sending a message to get an status about it. In the meantime, we would appreciate your understanding

  • Profile Image

    Answered by markashton on July 04, 2013 at 12:45 PM

    On July 7th primeinc did some research for you ... he went to a provider of a major function of yours called filepicker.io and found out that jotform is using a deprecated version of the filepicker.io API that is 6 months old ... now seven.

    Are you saying that this hasn't been done yet? 

    Can you confirm the API is out of date for the filepicker function ... cause I'll not even bother to try it as a solution ... because I'll come up with about 50 problems

    Please clarify. Thanks

    Regards mark

  • Profile Image

    Answered by jeanettebmz on July 04, 2013 at 01:06 PM

    I cannot tell for sure if the current API is an oudated one, this is something the developer(s) in charge of this will know for sure.

  • Profile Image

    Answered by markashton on July 04, 2013 at 01:08 PM

    Ok ... here's my suggestion ...

    Can you ask them?

    Thanks

  • Profile Image

    Answered by jeanettebmz on July 04, 2013 at 01:41 PM

    Yes, I already did it. Hopefully you'll get a better response and stimated timeframe on this thread soon

  • Profile Image

    Answered by markashton on July 04, 2013 at 01:57 PM

    Thanks ... come back to me when you know what the state of play with filepicker.io is

    Regards mark

  • Profile Image

    Answered by jeanettebmz on July 04, 2013 at 03:03 PM
    Sure, I  will do
  • Profile Image
    JotForm Support

    Answered by kenneth on July 06, 2013 at 12:50 AM

    Hi mark, developers have been busy building API appications. We apologize for some late updates. I'm working on it right now. I'll keep you posted If we managed to fix it.

    Thank you for your patience,
    Kenneth 

  • Profile Image

    Answered by markashton on July 06, 2013 at 05:37 AM

    Hey look. It seems to be working fine ... I've got no problem with it. It's just that the integration to get this up to date is minimal ... just a matter of a few lines of code according filepicker.io

    No worries from my end though.

    Thanks

  • Profile Image
    JotForm Support

    Answered by kenneth on July 08, 2013 at 10:40 AM

    Hi,primeinc. We have made some changes with filepickerIO integration. To have the latest updates reintegrate it with your form.

    Please confirm if it replects from your end. If the problem still persist let us know so that we can further investigate.

    Thank you,
    Kenneth 

  • Profile Image

    Answered by markashton on July 08, 2013 at 12:57 PM

    What changes have you made please?

    Thanks Mark

  • Profile Image
    JotForm Support

    Answered by kenneth on July 08, 2013 at 01:03 PM

    Hi, the previous filepickerIO function wrapper we have was prone to bugs and we need to rewrite it, and the filepicker library was so outdated. So we need to update and use the newly introduced functions to make things work out.

    Hope this well help the main problem of this thread.

    Anyway, have you tried the update? Did you encounter anything?

    Thanks,
    Kenneth 

  • Profile Image

    Answered by markashton on July 08, 2013 at 01:10 PM

    I am integrating filepicker.io from jotform for uploads of both videos and images. It is a key part of my business for clients.

    Let me test it and come back to you - there did seem to be an image orientation issue, with smartphone photos, but I'll have to test it more.

    Can I ask ...

    Have you updated the filepickerIO function and the filepicker library?

    Are you using the latest filepicker api? Is it V1 /

    Can you just confirm these points please?

    Thanks Mark

  • Profile Image
    JotForm Support

    Answered by kenneth on July 08, 2013 at 01:18 PM

    Yeah I just said it on my last post. We updated our filepickerIO Library to v1, and we are now using the new functions to upload to filepicker server properly. Including some new services.

    About the orientation of images to smartphones, I believe this issue came from them and not with JotForm.

    Thanks,
    Kenneth 

  • Profile Image

    Answered by markashton on July 08, 2013 at 01:31 PM

    Hi Kenneth,

    No ... you said 'need to rewrite it' ... that suggests it hasn't been done yet.... so I was just checking.

    What are the new services please? I would be very interested to know and test them. I'll give instant feedback and try to 'break it'.

    I will be using the filepicker function on nearly every form I do for smartphone uploads of photos and videos. 

    One thing - from a reporting point of view it would be of immense value "to all" if there was a thumbnail popup just like with the generic html reports for images.

    Is this possible while you are actually woirking on the new integration? Can you reference the url they provide to show a thumbnail ... you can use the /convert?h=72 that the filepicker service offers for image cropping ... might me simple ;-)

    I'll do anything to help.

    Thnaks Mark

  • Profile Image
    JotForm Support

    Answered by kenneth on July 08, 2013 at 01:41 PM

    Oh yeah sorry, yes I did rewrite it and add those new functions from filepickerIO.
    About the new services only the VIDEO and SKYDRIVE were added to the list.

    Thumbnails are good specially filepickerIO have that handy image cropper. It might be simple using it but its a lil different when putting it to jotform. We will look into that matter.

    -Kenneth

  • Profile Image

    Answered by markashton on July 08, 2013 at 01:49 PM

    Is that something you'll look at now while you're "hot" on the Filepicker Integration ... or shouldIput in a feature request.

    Also the button color thing is a mess with filepicker function .. see: http://www.jotform.com/answers/237449-Feature-Request-Button-Style-Option-For-Filepicker-io-Button 

    Thanks Mark

  • Profile Image
    JotForm Support

    Answered by kenneth on July 09, 2013 at 09:47 AM

    Hi markashton, I have made some changes on the filepickerIO buttons. You can now set Button style, same as the submit buttons. Another one is you can now set a "Custom Button Text".

    Might try them out and let me hear some feedbacks. If anything weird came up please report back.
    Confirm if its working from your end. 

    Thanks,
    Kenneth 

  • Profile Image

    Answered by markashton on July 09, 2013 at 09:58 AM

    Kenneth I'll answer on the other thread as it titled for that: http://www.jotform.com/answers/237449-Filepicker-Feature-Request-Button-Style-Option-Required

  • Profile Image
    JotForm Support

    Answered by kenneth on July 09, 2013 at 10:01 AM

    Oops mistake, wrong thread, yes please let's go to that thread instead.

    Thanks,
    Kenneth