(#1585) - Add error handling to api.id in http adapter