Add base64 decoding logic when reading job failure reason