catching the correct exception in AlgoliaUtils_request