jawbone

How to resolve "Error(s): Please enter a valid format for "Select"." when creating a Jawbone UP app?


When trying to create my application in the Jawbone developer portal, I get the following error message:

Error(s): Please enter a valid format for "Select"

I googled the error message and found this blog post, which says the issue is that my logo is too large. However, my image is under 4k, and the upload itself seems to succeed. The failure only appears after trying to save the application.


Solution

  • Dug into the developer portal code on this one (I am re-posting this question here after receiving an email about it), and it appears that the check is against the file name and not the file size.

    Currently uploaded filenames must match this regular expression:

    /^(?:[\w]\:|\\)(\\[A-Za-z_\-\s0-9\.]+)+\.(png|jpg|jpeg)$/
    

    So, any filenames with non-alphanumeric characters will fail.

    Definitely need to improve that error message and will review whether this check needs to exist.