<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rest API - Error calling PostInstrumentIdentifier - invalid data in profile-id? in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86891#M997</link>
    <description>&lt;P&gt;What are the headers you are passing as part of this API call ?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 16:48:51 GMT</pubDate>
    <dc:creator>rajvpate</dc:creator>
    <dc:date>2023-06-26T16:48:51Z</dc:date>
    <item>
      <title>Rest API - Error calling PostInstrumentIdentifier - invalid data in profile-id?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86862#M991</link>
      <description>&lt;P&gt;Good Afternoon -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a sandbox account and am creating integration between an ERP system and Cybersource - I can Authorize / Capture Credit Cards without issue - However, I' munable to create an InstrumentIdentifier + Payment Instrument to use later (IE - Using these to Authorize a payment vs hand keyed Credit Card information) :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error calling PostInstrumentIdentifier: {"errors":[{"type":"invalidHeaders","message":"Invalid header values","details":[{"name":"profile-id"}]}]}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I do not know what's invalid about the Profile ID I have (I don't know what the profile id actually is and can't find anything in the documentation related to it) - i get a similar (but different wording) error when using the "Live" console on the API reference website.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"errors": [&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"type": "missingHeaders",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"message": "Missing header values",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"details": [&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"name": "profile-id"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 21:11:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86862#M991</guid>
      <dc:creator>kmauzoul1</dc:creator>
      <dc:date>2023-06-22T21:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API - Error calling PostInstrumentIdentifier - invalid data in profile-id?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86891#M997</link>
      <description>&lt;P&gt;What are the headers you are passing as part of this API call ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 16:48:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86891#M997</guid>
      <dc:creator>rajvpate</dc:creator>
      <dc:date>2023-06-26T16:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API - Error calling PostInstrumentIdentifier - invalid data in profile-id?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86892#M998</link>
      <description>&lt;LI-CODE lang="csharp"&gt;string instrumentIdentifierId = GenerateRandomNumbers();

            Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierCard card = new Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierCard()
            {
                Number = cardNumber
            };

            PostInstrumentIdentifierRequest requestObj = new PostInstrumentIdentifierRequest()
            {
                Card = card
            };

            InstrumentIdentifierApi apiInstance = new InstrumentIdentifierApi(clientConfig);

            Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier result = apiInstance.PostInstrumentIdentifier(requestObj, "abcd");
            
            return instrumentIdentifierId;&lt;/LI-CODE&gt;&lt;P&gt;I misunderstood what the profile-id was - I thought that was the instrumentidentifierId that you wanted to generate the card data against - but if I send any value as the Profile-Id i get "Invalid data" - if I leave it null (like I saw in another forum post, I get the "missing headers" error -&lt;/P&gt;&lt;P&gt;This is using version&amp;nbsp;0.0.1.31 of the RestClient API and&amp;nbsp;0.0.0.16 of the AuthenticationSDK&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 17:24:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86892#M998</guid>
      <dc:creator>kmauzoul1</dc:creator>
      <dc:date>2023-06-26T17:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API - Error calling PostInstrumentIdentifier - invalid data in profile-id?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86893#M999</link>
      <description>&lt;P&gt;You should not need to send a profile-id as a header at all.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 17:41:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86893#M999</guid>
      <dc:creator>rajvpate</dc:creator>
      <dc:date>2023-06-26T17:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API - Error calling PostInstrumentIdentifier - invalid data in profile-id?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86894#M1000</link>
      <description>&lt;P&gt;If I pass a "null" to the Profile-ID, it gives me error about missing header values - if I pass an empty string to the call, I get invalid data error:&lt;/P&gt;&lt;P&gt;CyberSource.Client.ApiException: 'Error calling PostInstrumentIdentifier: {"errors":[{"type":"invalidHeaders","message":"Invalid header values","details":[{"name":"profile-id"}]}]}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there somewhere else I should be contacting for help on this?&amp;nbsp; Or could this be something related to my account being a sandbox ?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 18:03:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86894#M1000</guid>
      <dc:creator>kmauzoul1</dc:creator>
      <dc:date>2023-06-26T18:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API - Error calling PostInstrumentIdentifier - invalid data in profile-id?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86895#M1001</link>
      <description>&lt;P&gt;&amp;nbsp;What is the merchantId you are using ?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 21:18:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86895#M1001</guid>
      <dc:creator>rajvpate</dc:creator>
      <dc:date>2023-06-26T21:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API - Error calling PostInstrumentIdentifier - invalid data in profile-id?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86896#M1002</link>
      <description>&lt;P&gt;synergyresourcestest&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 22:10:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86896#M1002</guid>
      <dc:creator>kmauzoul1</dc:creator>
      <dc:date>2023-06-26T22:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API - Error calling PostInstrumentIdentifier - invalid data in profile-id?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86902#M1005</link>
      <description>&lt;P&gt;Please try using the Sign up link here&amp;nbsp;&amp;nbsp;&lt;A href="https://developer.cybersource.com/hello-world/sandbox.html" target="_blank"&gt;https://developer.cybersource.com/hello-world/sandbox.html&lt;/A&gt;&amp;nbsp;to create your Sandbox account.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 15:30:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86902#M1005</guid>
      <dc:creator>rajvpate</dc:creator>
      <dc:date>2023-06-27T15:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API - Error calling PostInstrumentIdentifier - invalid data in profile-id?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86904#M1006</link>
      <description>&lt;P&gt;Thank you - I thought I signed up with this link before but maybe not - now when I log in I see a section for Payment Instruments, and I'm no longer getting the Profile Id error - THANK YOU SO MUCH!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 16:54:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/86904#M1006</guid>
      <dc:creator>kmauzoul1</dc:creator>
      <dc:date>2023-06-27T16:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API - Error calling PostInstrumentIdentifier - invalid data in profile-id?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/87300#M1121</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I faced a similar issue before, and the advice mentioned in the previous comment really helped me troubleshoot and resolve the problem. Make sure to carefully review your profile ID and follow the API documentation closely. If you're still stuck, don't hesitate to seek further assistance from Cybersource support. Good luck!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 13:59:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Rest-API-Error-calling-PostInstrumentIdentifier-invalid-data-in/m-p/87300#M1121</guid>
      <dc:creator>Ritta_Clark</dc:creator>
      <dc:date>2023-08-11T13:59:17Z</dc:date>
    </item>
  </channel>
</rss>

