diff --git a/inventory_provider/db/ims.py b/inventory_provider/db/ims.py
index 34843fe49c4910befd1e69d08945ade6376d4cef..b8f78a41bf22cac86112bddf7d2edbdefcf25f99 100644
--- a/inventory_provider/db/ims.py
+++ b/inventory_provider/db/ims.py
@@ -141,18 +141,6 @@ class IMS(object):
             if response_.status_code == requests.codes.unauthorized:
                 return True
 
-            if response_.status_code == requests.codes.ok:
-                j = response_.json()
-                if j is None:
-                    # Sometime the API returns a 200 response but with no
-                    # body when the token has expired e.g. on a filtered query
-                    # This also happens when there is an error in the query :(
-                    return True
-                if j and isinstance(j, dict) and \
-                        j.get('HasErrors', False) and 'guid expired' in \
-                        j['Errors'][0]['ErrorMessage'].lower():
-                    return True
-
             return False
 
         while True: