diff --git a/src/arcresthelper/featureservicetools.py b/src/arcresthelper/featureservicetools.py
index <HASH>..<HASH> 100644
--- a/src/arcresthelper/featureservicetools.py
+++ b/src/arcresthelper/featureservicetools.py
@@ -205,7 +205,7 @@ class featureservicetools(securityhandlerhelper):
 
 
             item = admin.content.getItem(itemId=itemId)
-            if item.itemType == "Feature Service":
+            if item.type == "Feature Service":
                 if returnURLOnly:
                     return item.url
                 else:
item doesn't have property itemType

changed itemType to type.