UPDATED: Salesforce: Expired access/refresh token
Overview
If you see an "expired access/refresh token" error, your Salesforce OAuth connection is invalid. This happens when the token has expired, been revoked, or invalidated by a Salesforce security policy change.
Possible Causes
- The OAuth token has expired due to prolonged inactivity.
- The token was manually revoked in Salesforce (Setup → Connected Apps → Manage).
- The Salesforce user password was changed or reset, which invalidates existing tokens.
- Salesforce security policy changes affecting OAuth token validity (see notice below).
Resolution
Re-authenticate your Salesforce connection in Skyvia to obtain a new valid token:
- Go to Skyvia → Connections.
- Find and open your Salesforce connection.
- Click Sign in with Salesforce to re-authenticate via OAuth.
- After successful authorization, click Save.
- Click Test Connection to confirm the connection is working.
For details on configuring Salesforce connections in Skyvia, see Salesforce Connection Setup.
Some users may currently experience issues related to the frequent Salesforce token expiration. This is due to new security policies being introduced by Salesforce, which we at Skyvia are actively implementing to ensure full compliance. These changes may temporarily impact authentication and connection stability.
We are working closely with Salesforce to complete this transition as quickly as possible and to minimize any disruption for our users.
We sincerely apologize for any inconvenience this may cause and appreciate your understanding and patience.
Still Having Issues?
If the issue persists after re-authenticating, please contact Skyvia Support with the following details:
- The full error message text.
- The Id/link/name of the affected connection.
- Detailed steps to reproduce the issue.
Related Articles
Resolving the "Inactive User" Error in Skyvia Salesforce Connections
The "inactive user" error occurs at the Salesforce connection level in Skyvia. It means that the Salesforce user account used for the connection is inactive or no longer valid, so Salesforce blocks API authentication. As a result, Skyvia cannot run ...
Snowflake: Error while retrieving an access token occurred. Error type: invalid_grant. Error description: Bad Request
This error comes from your Snowflake connection because it has become invalid. By default, the refresh token is valid for 90 days. If you want to change this validity period, please ask your Snowflake account administrator to contact Snowflake ...
HubSpot: hapikey Permission Error
This issue is common when working with HubSpot. It typically occurs for the following reasons: The customer does not have access to the Marketing or CRM portal due to HubSpot subscription limitations and is limited to the Developer portal. The ...
Skyvia Backup Errors Caused by Salesforce API Requirements
Skyvia interacts with Salesforce via its API. During a backup operation, you may encounter errors due to certain limitations or behaviors specific to the Salesforce API. For example, when Skyvia performs a backup or replication, it queries all the ...
Salesforce Report exports only 2000 records
Skyvia integrates with Salesforce via its API, inheriting both its features and limitations. One key limitation is the Run Report restriction, which limits data extraction to the first 2,000 rows of a report. For more details on this limitation, we ...