<?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: Invalid access token in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invalid-access-token/m-p/65053#M38781</link>
    <description>&lt;P&gt;Just to be clear, I've been able to successfully create customer profiles using the api with the same access token. It seems that I'm only having this issue with the access token in the node sdk.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Nov 2018 15:17:51 GMT</pubDate>
    <dc:creator>jdoyle112</dc:creator>
    <dc:date>2018-11-13T15:17:51Z</dc:date>
    <item>
      <title>Invalid access token</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invalid-access-token/m-p/65011#M38748</link>
      <description>&lt;P&gt;I'm getting an error when trying to create a customer profile.. "The provided access token is invalid". I am using node sdk and oauth flow for merchant authenticaiton. I tested the same access token in postman to see if it works and it does. I am also refreshing the access token using the refresh token before making the request. Here is some sample code below..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;let merchantAuthenticationType = new ApiContracts.MerchantAuthenticationType();
merchantAuthenticationType.setAccessToken(accessToken);&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I'm out of ideas here and could use some help..&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Nov 2018 16:47:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invalid-access-token/m-p/65011#M38748</guid>
      <dc:creator>jdoyle112</dc:creator>
      <dc:date>2018-11-08T16:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid access token</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invalid-access-token/m-p/65053#M38781</link>
      <description>&lt;P&gt;Just to be clear, I've been able to successfully create customer profiles using the api with the same access token. It seems that I'm only having this issue with the access token in the node sdk.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 15:17:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invalid-access-token/m-p/65053#M38781</guid>
      <dc:creator>jdoyle112</dc:creator>
      <dc:date>2018-11-13T15:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid access token</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invalid-access-token/m-p/66521#M40047</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/26576"&gt;@jdoyle112&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I'm getting an error when trying to create a customer profile.. "The provided access token is invalid". I am using node sdk and oauth flow for merchant authenticaiton. I tested the same access token in postman to see if it works and it does. I am also refreshing the access token using the refresh token before making the request. Here is some sample code below..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;let merchantAuthenticationType = new ApiContracts.MerchantAuthenticationType();
merchantAuthenticationType.setAccessToken(accessToken);&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I'm out of ideas here and could use some help..&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;invalid access token&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;error simply&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;means&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;token&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;for the selected app used for posting is expired and needs to be re-authenticated. Copy the displayed&lt;/SPAN&gt;&lt;STRONG&gt;access token&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;from the next window that displays and then paste in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Access Token&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Box.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 09:16:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invalid-access-token/m-p/66521#M40047</guid>
      <dc:creator>Woods008</dc:creator>
      <dc:date>2019-02-25T09:16:16Z</dc:date>
    </item>
  </channel>
</rss>

