diff --git a/lib/FeatureServices.js b/lib/FeatureServices.js
index <HASH>..<HASH> 100644
--- a/lib/FeatureServices.js
+++ b/lib/FeatureServices.js
@@ -39,7 +39,7 @@ module.exports = {
     var self = this;
     var fields = [];
     Object.keys( props ).forEach(function( key ){
-      var type = (( idField && key == idField ) ? 'esriFieldTypeOID' : self.fieldType( props[ key ] ));
+      var type = (( idField && key == idField ) ? 'esriFieldTypeOID' : (self.fieldType( props[ key ])||'esriFieldTypeString') );
       if (type){
         var fld = {
           name: key,
@@ -75,6 +75,7 @@ module.exports = {
     } else {
       template.fields = [];
     }
+    console.log(template.fields)
     return template;
   },
null values cast as strings in featureservice fields