pipedream icon indicating copy to clipboard operation
pipedream copied to clipboard

[BUG] Salesforce authentication

Open ingebekx opened this issue 5 months ago • 3 comments

Describe the bug A clear and concise description of what the bug is. Note that this issue will be displayed publicly. Salesforce connection gives the following error: Session expired or invalid","errorCode":"INVALID_SESSION_ID" For our specific connection, the integration stopped working after 12th of June

To Reproduce Steps to reproduce the behavior:

  1. Connect with Salesforce
  2. Run as expected on actions like get ticket and send comment/reply
  3. Out of no-where it stopped

Expected behavior A clear and concise description of what you expected to happen. For sessions & tokens to refresh in time

Screenshots If applicable, add screenshots to help explain your problem. Note that the screenshots will be displayed publicly.

Additional context Add any other context about the problem here. We only see the issue for one of our two customers.

ingebekx avatar Jun 16 '26 16:06 ingebekx

Hi @ingebekx , since you mentioned you're only seeing the issue for one of your two customers, can you confirm with this customer if anything changed on their end regarding Salesforce?

This app requires some setup, as you can see here: https://pipedream.com/apps/salesforce-rest-api#getting-started

I also need to ask, are they facing this issue on every Salesforce action and/or trigger that they attempt to use, or only in a select few? And is their account connection (auth provision) returned as healthy?

GTFalcao avatar Jun 16 '26 21:06 GTFalcao

Hi @GTFalcao this is the first of multiple customers that we've connected.

We'll check if something changed on their end, but are almost 100% sure that's not the case. (As we've set up everything for them)

My best guess is that the session should be refreshed but wasn't, as we suddenly stopped getting any triggers and all actions started giving this error. Can you check if your auth / session refresh logic is sound?

Afstkla avatar Jun 17 '26 06:06 Afstkla

@GTFalcao @s0s0physm we've checked the base settings, those are all good. Could you check if the session is refreshed properly please? Like @Afstkla suggested.

ingebekx avatar Jun 19 '26 07:06 ingebekx