<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Integration fails when token expires</title><link>https://community.appian.com/discussions/f/integrations/31064/integration-fails-when-token-expires</link><description>Hi Team, 
 An integration object is created with OAuth 2.0 authentication, every time the connected system is authenticated, then the integration works for 1hour and after that the integration fails. Please let me know if anyone faced similar issue and</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Integration fails when token expires</title><link>https://community.appian.com/thread/143585?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2024 16:02:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:618352e0-896e-4417-8c35-0bb7c6e5b1a2</guid><dc:creator>venkatesanr1106</dc:creator><description>&lt;p&gt;I am exactly facing this issue , pls let me know ,&amp;nbsp; what Is the resolution how API fix the issue how they change this to 401 errors code ,whether Appian gen new token after that . Any help is much appreciated&amp;nbsp; ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration fails when token expires</title><link>https://community.appian.com/thread/123962?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 10:54:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d9e2290-f9c8-4c7c-b308-024443a9a38a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f44d.svg" title="Thumbsup"&gt;&amp;#x1f44d;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration fails when token expires</title><link>https://community.appian.com/thread/123961?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 10:50:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b3677dbe-b2ad-400f-9b6e-d6db847972ff</guid><dc:creator>Nupoor Gupta</dc:creator><description>&lt;p&gt;It&amp;#39;s fixed, issue was from the API team.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration fails when token expires</title><link>https://community.appian.com/thread/123946?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 09:51:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:394ea290-1405-4e4d-88f6-3b3d931d8149</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Because Appian would manage that automatically.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.4/oauth_client_credentials.html#access-token-expiration"&gt;https://docs.appian.com/suite/help/23.4/oauth_client_credentials.html#access-token-expiration&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But implementations and configurations vary .... talk to the teams developing the APIs and managing the access management systems.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration fails when token expires</title><link>https://community.appian.com/thread/123943?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 09:43:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca7e7ab0-6c4d-4b1f-9e2e-1c063f9ea65f</guid><dc:creator>Bilal Qasim</dc:creator><description>&lt;p&gt;How about calling a&amp;nbsp;get access token integration object&amp;nbsp;and writing the access token to a table. When running the above integration you get the latest row from the access token table. If the integration fails then get a new token, write to the db and query the table? See example below:&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration fails when token expires</title><link>https://community.appian.com/thread/123933?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 08:21:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1d294ad2-ab86-4083-879c-28395d3884c6</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Post and Get are two different types and depend on the API. We cannot choose between the two. This has to be the same as the API configurations.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration fails when token expires</title><link>https://community.appian.com/thread/123930?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 08:07:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdb61d5d-2373-4ad7-b5ce-06fc6e342a58</guid><dc:creator>Rishikesh Raj</dc:creator><description>&lt;p&gt;500 is for Internet server error at server side. Might be there is an issue with server.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration fails when token expires</title><link>https://community.appian.com/thread/123874?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 08:38:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e3e0793-61bf-41c8-80cb-1bcb7098b2c4</guid><dc:creator>Nupoor Gupta</dc:creator><description>&lt;p&gt;When POST method is used, then it is giving 500 error and when changed to GET, then 401, maybe we need to connect with the API team to resolve&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration fails when token expires</title><link>https://community.appian.com/thread/123873?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 08:35:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:109670e0-1b15-4c69-809e-6efaef1a5573</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What kind of API is that?&lt;/p&gt;
&lt;p&gt;When there is an issue with authorization, it should return a 401, but not a 500.&lt;/p&gt;
&lt;p&gt;I suggest to get in contact with the API development team to discuss this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>