<?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 Authentication Failed error with HTTP Signature when use javascript fetch in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Authentication-Failed-error-with-HTTP-Signature-when-use/m-p/88867#M1426</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Process a payment api is working in cybersource's live console using HTTP signature with Organization ID, secret key and shared secret key. I am getting 201 status response.&lt;BR /&gt;API is also working fine in postman. I am getting status 201 response in postman as well.&lt;BR /&gt;&lt;BR /&gt;But when I am implementing api request with javascript fetch it is throwing below error-&lt;BR /&gt;{"response":{"rmsg":"Authentication Failed"}}&lt;BR /&gt;&lt;BR /&gt;I am using same data for header, body etc. which is working fine in&amp;nbsp;cybersource's live console and postman.&lt;/P&gt;&lt;P&gt;URL -&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://apitest.cybersource.com/pts/v2/payments" target="_blank"&gt;https://apitest.cybersource.com/pts/v2/payments&lt;/A&gt;&lt;BR /&gt;Method - POST&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2024 07:01:53 GMT</pubDate>
    <dc:creator>dharmesh</dc:creator>
    <dc:date>2024-02-21T07:01:53Z</dc:date>
    <item>
      <title>Authentication Failed error with HTTP Signature when use javascript fetch</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Authentication-Failed-error-with-HTTP-Signature-when-use/m-p/88867#M1426</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Process a payment api is working in cybersource's live console using HTTP signature with Organization ID, secret key and shared secret key. I am getting 201 status response.&lt;BR /&gt;API is also working fine in postman. I am getting status 201 response in postman as well.&lt;BR /&gt;&lt;BR /&gt;But when I am implementing api request with javascript fetch it is throwing below error-&lt;BR /&gt;{"response":{"rmsg":"Authentication Failed"}}&lt;BR /&gt;&lt;BR /&gt;I am using same data for header, body etc. which is working fine in&amp;nbsp;cybersource's live console and postman.&lt;/P&gt;&lt;P&gt;URL -&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://apitest.cybersource.com/pts/v2/payments" target="_blank"&gt;https://apitest.cybersource.com/pts/v2/payments&lt;/A&gt;&lt;BR /&gt;Method - POST&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 07:01:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Authentication-Failed-error-with-HTTP-Signature-when-use/m-p/88867#M1426</guid>
      <dc:creator>dharmesh</dc:creator>
      <dc:date>2024-02-21T07:01:53Z</dc:date>
    </item>
  </channel>
</rss>

