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

你离开我真会死。 提交于 2019-12-11 01:16:53

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!