Hello. I need some help with a Salesforce destinat...
# support
c
Hello. I need some help with a Salesforce destination. Last week it stopped working and there are errors on all events saying INVALID_SESSION_ID. I have tried resetting the password and token associated with the account in SF and applied those credentials to the RS destination to no avail. The error coincides with this changeset to the SF destination. I am seeing evidence that this new code is being applied on the destination. Apparently there is a new OAUTH2 flow being rolled out, but I cannot set client_id or client_secret on the destination. https://github.com/rudderlabs/rudder-transformer/commit/916ea4c8d08f69b68b7795dd513a25a3cded55fa
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
c
I created a new SF destination with the same credentials, and the events are flowing through there fine. I guess the issue is technically resolved, but i'd love to know why the initial destination stopped working. Did some bad code get pushed to it or something?
original destination id: 2Fj87ft1tsZmaiECjPrl1epBeOG new destination id: 2YRzwHKku7hnb2RU4JTSIAeTST3
m
Oh ok. I will check with the team if there was some changes made and if it impacted the customers. Thanks for bringing this up.
Hi Matthew, the team looked into the incident and feels that the issue could be due to your access tokens expiring at a time close to the release. The team also mentioned that the new OAUTH2 flow code was not actually released. The team however continues to monitor the situation. Thanks
c
Hi @shy-kite-21035. The new destination is now experiencing the same issue. Can you please help me out?
I got this from my dev lead today
Copy code
it looks like the new Salesforce Rudderstack destination only worked for about a day. I noticed the lack of RS updates on leads this morning
The team also mentioned that the new OAUTH2 flow code was not actually released.
The error messaging we're seeing includes error strings from the newly added code paths. That's why I was suspecting the new code could be causing an issue.
We've never had a problem with SF tokens up until now. We had been using the destination for over a year.
Can someone please help with this? The issue came back.
m
Hi Matthew, I have raised this issue to the team again. Sorry about the delayed response. I was OOO last week.
c
Tyvm
m
Hi Matthew, this was released yesterday and your events seem to be flowing now.
Let me know if this breaks again.
c
Hi @shy-kite-21035. I confirmed that events are indeed successfully flowing to SF again. Thank you! Can you let me know a brief summary of what caused the issue? Thanks!
m
I will try to get an RCA.
c
tyvm!
m
Hi Matthew, - We missed sending the authorizationFlow parameter from transformer proxy layer when we released our previous transformer version. - That is why the access token was not being refreshed. - Since most customers were sending payloads that need axios calls to be made at the transformation level their access token kept getting refreshed and they did not face an issue. - But since you were sending extremely simple payloads, no intermediate axios calls were made and the access token were not refreshed, which led to all your events failing. The team released a hot-fix yesterday to resolve the issue.
c
My thanks to you and the team, @shy-kite-21035! I am very happy we were able to resolve this issue in a timely manner! Please let the team know they have my thanks 🙂
m
Sure will do :)