added on exception handling for when the conversion fails on aws response