Not Enough arguments error

Not Enough arguments error

I'm getting a Not enough arguments error.  This script basically collects key/value pairs & gets them ready to be ajax'd to a .php handler file. 

  1. var obj_data = {};
  2.   obj_data['key'] = keystring;  // Ex. Keystring: $easydb->key="x2nrdIpAmdorqMj4";
  3.   var textData = new FormData();  
  4.   $.each(obj_data, function(k, v) { // apply object key/values to formData
  5. console.log(['Key, Value: ', k, v]);
  6. textData.append(k, v);
  7.   });
  8.   $.ajax({
  9.     method: 'POST',
  10.     url: 'assetPath/easydbkeysetup.php',
  11.     data: textData
  12.   })
  13.   .done (function(response) {
  14.       var rout = response.text;
  15.       $('#easydbcredentialswrapper_stacks_in_20_page0 .success-message p').append('<span>' + rout + '</span>');
  16.   })
  17.   .fail (function(response) {
  18.       var rout = response.text;
  19.       $('#easydbcredentialswrapper_stacks_in_20_page0 .error-message p').append('<span>' + rout + '</span>'); 
  20.   });

Here's an example page:  [ Removed ]

I think it might be in my ajax call.  When I comment it out, the error disappears, although might be in append.
Note: just have one key/value in this, but want to be able to handle many if needed.
So where is my code goofed up?