问题
When trying to create my application in the Jawbone developer portal, I get the following error message:
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.
回答1:
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.
来源:https://stackoverflow.com/questions/37354003/how-to-resolve-errors-please-enter-a-valid-format-for-select-when-creati