Error: Upgrade Your fivetran-connector-sdk PyPI Package to the Latest Version
Issue
The upload step fails with the following error when running the fivetran deploy command:
Unable to upload the project, failed with error. Forbidden: This is deprecated. Please upgrade your fivetran-connector-sdk PyPI package to the latest version to use the new deployment flow.
The project packages successfully before the failure occurs.
Environment
Connector SDK
Resolution
To resolve this issue, upgrade the installed fivetran-connector-sdk package:
- Run the following command in your local environment:
pip install --upgrade fivetran-connector-sdk - Confirm the installed version:
pip show fivetran-connector-sdk - Run the deploy command again:
fivetran deploy
After the upgrade, the deployment should complete successfully. If the upgrade command returns Requirement already satisfied and the error persists, contact our support team and provide the full terminal output.
Cause
This issue occurs when the installed fivetran-connector-sdk package uses a deprecated deployment flow that the platform no longer supports. Upgrading pip does not upgrade installed packages. You must upgrade the SDK package separately.