Salesforce Integration broken after every deploy #1140
-
Hey, i'm not sure if this is a bug so I thought I'll open a discussion first. So I debugged it locally and found out the the Would anyone have a hint why it could break after deploying? Is there some kind of token mismatch happening or something like this? Or is it even something that is on the Salesforce side? Thanks and regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yep, so the Clearing any form of cache (which is normal for deployments) shouldn't have anything to do with this value disappearing. The only thing I can think of is that your local Salesforce integration config (stored in project config) is somehow overwriting the production database settings on deploy. Downloading the production database and running |
Beta Was this translation helpful? Give feedback.
Yep, so the
apiDomain
is fetched and stored when you first make the connection to Salesforce for the OAuth handshake. This is saved in thesettings
column in yourformie_integrations
database table. Are you able to have a look at this after a deploy, and it's no longer working?Clearing any form of cache (which is normal for deployments) shouldn't have anything to do with this value disappearing.
The only thing I can think of is that your local Salesforce integration config (stored in project config) is somehow overwriting the production database settings on deploy. Downloading the production database and running
./craft project-config/rebuild
should ensure your local PC files are up to d…