Back

Salesforce Connection Error: error=invalid_request&error_description=missing required code challenge

Published: Oct 08, 2026
Post Author Written by Amit Chaudhari

If you receive the above error when setting up a Salesforce connection in SmartConnect, it is related to changes applied by Salesforce to its app connection requirements.

Salesforce has updated its requirements around Proof Key for Code Exchange (PKCE). PKCE has been supported by Salesforce for several years as an optional security feature, but it is now considered an important industry security practice for OAuth 2.0 authentication.

As a result, when creating a new External Client App connection in Salesforce for use with SmartConnect, the appropriate PKCE settings must be configured.

Please review the article below for detailed instructions on configuring the required settings.
Enabling PKCE for OAuth for Salesforce External Client and Connected Apps

Fix

To resolve the error, enable the “Use PKCE” on salesforce connection.

If you are using SmartConnect On-Premises, you must upgrade to version 21.1.0.1725 or later to use this functionality.

Have a question? Please reach out to us at support@eonesolutions.com

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.