Returning and caching an error image was not pasing the metadata correctly to the caching layer