New media api error handling