Reply
Highlighted
Member
Posts: 5
Registered: ‎01-17-2013
Accepted Solution

E00003 : Name cannot begin with the '+' character

[ Edited ]

I'm am using FileMaker Pro and the XML Post method to submit transactions including CIM. I am able to submit the following XML code successfully on a Mac using the Mac version of FileMaker Pro 11 and the Troi URL plugin to handle the URL Post operation. However, when I run it on my client's Windows machine I get the above error. There is no '+' value in the code I'm posting so I'm baffled as to why the error is happening. The exact same code works fine on the Mac and I am able to use similar code to access other Gateways besides Authorize.net on both platforms.

 

I've substituted fake contact info below, but otherwise this is what is being submitted. Works on Mac, not on Windows.

 

<?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
  <merchantAuthentication>
    <name>123456789</name>
    <transactionKey>****</transactionKey>
  </merchantAuthentication>
  <profile>
    <merchantCustomerId>9569</merchantCustomerId>
    <email>fred@bedrock.com</email>
    <paymentProfiles>
      <customerType>individual</customerType>
      <billTo>
        <firstName>Fred</firstName>
        <lastName>Flintstone</lastName>
        <address>123 Bedrock Ave</address>
        <city>Bedrock</city>
        <state>NY</state>
        <zip>11205</zip>
        <country></country>
        <phoneNumber></phoneNumber>
      </billTo>
      <payment>
        <creditCard>
          <cardNumber>5555555555554444</cardNumber>
          <expirationDate>2014-10</expirationDate>
          <cardCode>123</cardCode>
        </creditCard>
      </payment>
    </paymentProfiles>
  </profile>
  <validationMode>liveMode</validationMode>
</createCustomerProfileRequest>

 

Error Message


Accepted Solutions
Highlighted
Solution
Accepted by topic author wmloving
‎08-21-2015 01:58 AM
Member
Posts: 5
Registered: ‎01-17-2013

Re: E00003 : Name cannot begin with the '+' character

Encoding did turn out to be the issue though it was more specifically related to the Troi URL Plugin (used with FileMaker) requiring the "-NotEncoded" switch to be set when submitting on the Windows platform. The suggestion put me on the right track.

View solution in original post


All Replies
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: E00003 : Name cannot begin with the '+' character

The error said position 6, which is the space

 

http://stackoverflow.com/questions/2678551/when-to-encode-space-to-plus-or-20

 

sound like the url post operation is changing the space to a + sign.

Highlighted
Solution
Accepted by topic author wmloving
‎08-21-2015 01:58 AM
Member
Posts: 5
Registered: ‎01-17-2013

Re: E00003 : Name cannot begin with the '+' character

Encoding did turn out to be the issue though it was more specifically related to the Troi URL Plugin (used with FileMaker) requiring the "-NotEncoded" switch to be set when submitting on the Windows platform. The suggestion put me on the right track.