• Kevin
  • NEWBIE
  • 0 Points
  • Member since 2023

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
Hello everyone,
I am currently working on an integration project involving the Salesforce API. My project uses an Apex class to call a Quarkus service that interacts with a Document Management System (DMS) on Azure. This class is designed to retrieve a list of documents from the DMS.
However, I am running into an issue when the size of a document exceeds the total heap size limit imposed by Salesforce. Specifically, Salesforce has a 6 MB limit for synchronous transactions and a 12 MB limit for asynchronous transactions. When I try to retrieve a document that exceeds these limits, I am unable to do so.
I was wondering if anyone else has encountered this issue and if so, how did you resolve it? Any help or suggestions would be greatly appreciated.
  • July 25, 2023
  • Like
  • 0
Hello Salesforce Community,
I am currently facing an issue with the automatic token refresh in my Salesforce organization and I'm hoping someone might be able to help.
Here's a brief overview of my setup: I have configured Named Credentials with Keycloak as the Auth Provider, and Azure AD as the identity provider for Keycloak. This setup works well for initial authentication, but I'm running into problems when the access token expires.
From what I understand, Salesforce should automatically use the refresh token to obtain a new access token when the current one expires. However, I'm receiving 401 errors indicating that the access token is invalid, and the token does not seem to be refreshing automatically.
As a temporary workaround, I've been manually revoking the access in the External Credential, which forces a new authentication and thereby obtains a new access token. However, this is not a sustainable solution as it disrupts the user experience and requires manual intervention.
Has anyone else experienced this issue or have any suggestions on how to resolve it? Any insights or advice would be greatly appreciated.
Thank you in advance for your help.
  • July 17, 2023
  • Like
  • 0
Hello everyone,
I am currently working on an integration project involving the Salesforce API. My project uses an Apex class to call a Quarkus service that interacts with a Document Management System (DMS) on Azure. This class is designed to retrieve a list of documents from the DMS.
However, I am running into an issue when the size of a document exceeds the total heap size limit imposed by Salesforce. Specifically, Salesforce has a 6 MB limit for synchronous transactions and a 12 MB limit for asynchronous transactions. When I try to retrieve a document that exceeds these limits, I am unable to do so.
I was wondering if anyone else has encountered this issue and if so, how did you resolve it? Any help or suggestions would be greatly appreciated.
  • July 25, 2023
  • Like
  • 0
Hello Salesforce Community,
I am currently facing an issue with the automatic token refresh in my Salesforce organization and I'm hoping someone might be able to help.
Here's a brief overview of my setup: I have configured Named Credentials with Keycloak as the Auth Provider, and Azure AD as the identity provider for Keycloak. This setup works well for initial authentication, but I'm running into problems when the access token expires.
From what I understand, Salesforce should automatically use the refresh token to obtain a new access token when the current one expires. However, I'm receiving 401 errors indicating that the access token is invalid, and the token does not seem to be refreshing automatically.
As a temporary workaround, I've been manually revoking the access in the External Credential, which forces a new authentication and thereby obtains a new access token. However, this is not a sustainable solution as it disrupts the user experience and requires manual intervention.
Has anyone else experienced this issue or have any suggestions on how to resolve it? Any insights or advice would be greatly appreciated.
Thank you in advance for your help.
  • July 17, 2023
  • Like
  • 0