use the correct exception for requests