use failure endpoint on missing code