Fix error reporting from key fetch transformer