Fix Salesforce Expired OAuth Token in Skyvia

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:

  1. Go to SkyviaConnections.
  2. Find and open your Salesforce connection.
  3. Click Sign in with Salesforce to re-authenticate via OAuth.
  4. After successful authorization, click Save.
  5. Click Test Connection to confirm the connection is working.

For details on configuring Salesforce connections in Skyvia, see Salesforce Connection Setup.

Info

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

    • Snowflake: invalid_grant Access Token Error

      Overview This error comes from your Snowflake connection because it has become invalid. By default, the Snowflake OAuth refresh token is valid for 90 days. Once it expires, the connection can no longer authenticate and returns the invalid_grant ...
    • Salesforce: Inactive User Error

      Overview 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 ...
    • Skyvia Backup Errors Caused by Salesforce API Requirements

      Overview Skyvia interacts with Salesforce via its API. During a backup or replication operation, you may encounter errors caused by certain limitations or behaviors specific to the Salesforce API. Why This Happens When Skyvia performs a backup or ...
    • HubSpot: hapikey Permission Error

      Overview This error is common when working with HubSpot and indicates that the API key (hapikey) used for authentication does not have sufficient permissions to access one or more HubSpot objects. Root Causes The error typically occurs for one of the ...
    • Salesforce Report exports only 2000 records

      Overview When using Salesforce Reports as a data source in Skyvia, the export is limited to the first 2,000 rows. This is not a Skyvia limitation — it is a hard restriction imposed by the Salesforce Run Report API, which Skyvia uses to retrieve ...