{"action":"closed","issue":{"url":"https://api.github.com/repos/katzwebservices/Gravity-Forms-Salesforce/issues/122","labels_url":"https://api.github.com/repos/katzwebservices/Gravity-Forms-Salesforce/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/katzwebservices/Gravity-Forms-Salesforce/issues/122/comments","events_url":"https://api.github.com/repos/katzwebservices/Gravity-Forms-Salesforce/issues/122/events","html_url":"https://github.com/katzwebservices/Gravity-Forms-Salesforce/issues/122","id":42308178,"number":122,"title":"Authorization Dropping Again","user":{"login":"cdanni-tv","id":5420231,"avatar_url":"https://avatars.githubusercontent.com/u/5420231?v=3","gravatar_id":"","url":"https://api.github.com/users/cdanni-tv","html_url":"https://github.com/cdanni-tv","followers_url":"https://api.github.com/users/cdanni-tv/followers","following_url":"https://api.github.com/users/cdanni-tv/following{/other_user}","gists_url":"https://api.github.com/users/cdanni-tv/gists{/gist_id}","starred_url":"https://api.github.com/users/cdanni-tv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdanni-tv/subscriptions","organizations_url":"https://api.github.com/users/cdanni-tv/orgs","repos_url":"https://api.github.com/users/cdanni-tv/repos","events_url":"https://api.github.com/users/cdanni-tv/events{/privacy}","received_events_url":"https://api.github.com/users/cdanni-tv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-09-09T13:51:04Z","updated_at":"2015-03-04T20:11:04Z","closed_at":"2015-03-04T20:11:04Z","body":"We seem to be still losing our connection. Gravity Forms logging shows the following:\r\n\r\n2014-09-09 12:55:12 - ERROR --> get_api(): The access token has expired; fetching a refresh token. \r\n2014-09-09 12:55:12 - ERROR --> refreshToken(): Refreshing access token failed. Here is the error type: OAuth\\Common\\Http\\Exception\\TokenResponseException \r\n2014-09-09 12:55:12 - ERROR --> get_api(): The refreshToken call has failed. This may be due to your Salesforce Instance \"Refresh Token Policy\". If it is not set to \"Refresh token is valid until revoked\" (the default), that can cause problems. \r\n2014-09-09 12:55:12 - ERROR --> See http://www.salesforce.com/us/developer/docs/packagingGuide/Content/connected_app_manage_edit.htm#oauth_policies for more information. \r\n2014-09-09 12:55:12 - ERROR --> api_is_valid(): $api is string or has an error:  \r\n2014-09-09 12:55:12 - ERROR --> getObjectTypes(): API is invalid.  \r\n2014-09-09 12:55:56 - ERROR --> get_api(): There was an error getting the connection to Salesforce. The error message was: INVALID_SESSION_ID: This session is not valid for use with the API\r\nHere's the exception: SoapFault Object\r\n(\r\n    [message:protected] => INVALID_SESSION_ID: This session is not valid for use with the API\r\n\r\nI pinged our in-house Salesforce guy and he swears that the Refresh Token Policy is set as required. Not sure what to ask about the session ID. It seems to me that there may very well be a problem on the Salesforce side of things, but I have no idea what else to have him look for. Any advice?\r\n\r\nVersion 3.0.6.2 with GF 1.8.13"}}