Problem description
When you obtain the OSS image information, an error is returned for the Image has no exif info. The error content is similar to the following.
<Error>
<Code>BadRequest</Code>
<Message>Image has no exif info.</Message>
<RequestId>5502D98553F47BFAB7F95B8C</RequestId>
<HostId>image-demo.img.aliyuncs.com</HostId>
</Error>
Cause
The uploaded source image does not have EXIF information, but there is an operation to obtain the EXIF information of the source image.
Solutions
EXIF is specially set for photos of digital cameras, which can record the attribute information and shooting data of digital photos. If the source image does not have EXIF information, the information fails to be obtained. You can replace the original image with an image that contains EXIF information and re-obtain the image information.
Applicable scope
- OSS