Stored image field paths are incorrect resulting in not being able to view or downloaded the image
We have users who are adding images to records in our app using the Image field. There have been a number of images added recently that we are not able to access. Looking at a working image link via the API shows:
- "Commissioned_Photo": "/api/v2/<PORTAL_NAME>/<APP_NAME>/report/<REPORT_NAME>/<ID>/Commissioned_Photo/download?filepath=1623879656874_Commissioned_Photo.jpg"
One of the records with an image we cannot access is stored as follows:
- "Commissioned_Photo": "1625696438984_Commissioned_Photo.jpg"
It seems when these images are added the path is not correctly saved to the field. Looking for any suggestions on how to resolve and get access to these images again?
Trying to download the image manually using the API call with record ID and field name returns the following (where RECORD_ID is the actual ID):
- https://creator.zoho.com/api/v2/<PORTAL_NAME>/<APP_NAME>/report/<REPORT_NAME>/<RECORD_ID>/Commissioned_Photo/download
{
"code": 3730,
"message": "No file found in the record with ID <RECORD_ID>."
}
Regards,
Daniel.