You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal: Implement an API endpoint to fetch a list of content notes associated with a particular Salesforce account sorted by last creation time. This endpoint should handle Salesforce access token lifecycle, refreshing it as necessary.
Background: For our Salesforce integration, we need to fetch and display the content notes associated with specific accounts. Salesforce access tokens have a limited lifespan, so our implementation needs to handle token expiration and refresh.
Tasks:
Implement a new API endpoint to fetch content notes from Salesforce.
The endpoint should add the current Salesforce access token to the request before sending it.
If a request fails due to an expired access token, the endpoint should automatically refresh the token and retry the request once.
Implement error handling for other error cases, such as invalid requests or server errors.
Write tests for the new endpoint
The text was updated successfully, but these errors were encountered:
Goal: Implement an API endpoint to fetch a list of content notes associated with a particular Salesforce account sorted by last creation time. This endpoint should handle Salesforce access token lifecycle, refreshing it as necessary.
Background: For our Salesforce integration, we need to fetch and display the content notes associated with specific accounts. Salesforce access tokens have a limited lifespan, so our implementation needs to handle token expiration and refresh.
Tasks:
The text was updated successfully, but these errors were encountered: