Skip to main content

Hello,

 

We are currently in the process of developing an email tracking application, and we're aiming to integrate it with Salesforce. However, we've encountered an issue where we're receiving an error message, specifically "The REST API is not enabled for this Organization," when making a specific API request to get the user's tasks.

 

Here's the API request in question: `{instance_url}/services/data/v52.0/query/?q=SELECT%20Id%2C%20Subject%2C%20Status%2C%20Priority%20FROM%20Task%20WHERE%20OwnerId%20%3D%20%27{salesforce_user_id}%27`.

 

To provide some context, our integration process begins by guiding the user through the OAuth authorization process. Once we obtain the authorization code, we exchange it for an access token using this API endpoint: `https://login.salesforce.com/services/oauth2/token`. During this token exchange, we also receive an `instance_url`, which is crucial for subsequent API calls.

 

While most of our API calls are functioning as expected, we are encountering issues specifically with the API call mentioned above.

 

We would greatly appreciate any assistance or insights you can provide regarding this problem.

 

Thank you in advance for your help.

 

@Salesforce Integration 

1 respuesta
0/9000