25 appears to happen because the API can give a response back that has an image block with an imageId that isn't present in the imageMap, so the Downloadable object representing it has the zero string for a URL, among other properties. This PR adds a check to see if a Downloadable has a blank ID, and reports to the user that its URL is unusable if that's the case.
25 appears to happen because the API can give a response back that has an image block with an
imageId
that isn't present in theimageMap
, so theDownloadable
object representing it has the zero string for a URL, among other properties. This PR adds a check to see if aDownloadable
has a blank ID, and reports to the user that its URL is unusable if that's the case.