Add additional info to failed api requests