Skip to content

Commit

Permalink
fix: adding new dest salesforce oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
shrouti1507 committed Nov 1, 2023
1 parent 1e0b1a3 commit 350ab92
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
1 change: 1 addition & 0 deletions src/constants/destinationCanonicalNames.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const DestHandlerMap = {
ga360: 'ga',
salesforce_oauth: 'salesforce',
};

const DestCanonicalNames = {
Expand Down
1 change: 1 addition & 0 deletions src/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"PINTEREST_TAG": true,
"PROFITWELL": true,
"SALESFORCE": true,
"SALESFORCE_OAUTH": true,
"SFMC": true,
"SNAPCHAT_CONVERSION": true,
"TIKTOK_ADS": true,
Expand Down
19 changes: 6 additions & 13 deletions test/integrations/destinations/salesforce/dataDelivery/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,22 +119,15 @@ export const data = [
body: {
output: {
status: 500,
authErrorCategory: 'REFRESH_TOKEN',
message:
'Salesforce Request Failed - due to "INVALID_SESSION_ID", (Retryable) during Salesforce Response Handling',
destinationResponse: {
response: [
{
message: 'Session expired or invalid',
errorCode: 'INVALID_SESSION_ID',
},
],
status: 401,
rudderJobMetadata: {
destInfo: {
authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf',
},
destinationResponse: [
{
message: 'Session expired or invalid',
errorCode: 'INVALID_SESSION_ID',
},
},
],
statTags: {
destType: 'SALESFORCE',
errorCategory: 'network',
Expand Down

0 comments on commit 350ab92

Please sign in to comment.