Invalid format in vision request

All,
i am trying to use image from my OneDrive. The link that OneDrive created does not have specific type, like .jpg
while browsers understand my links, request returns error 400 with descrption “You uploaded an unsupported image. Please make sure your image is below 20 MB in size and is of one the following formats: [‘png’, ‘jpeg’, ‘gif’, ‘webp’]”
is there any way to specify type rather than URL?

Thank you in advance
YK

User error.
looks like link from one drive does not work. direct link is needed

Thank you
YK