Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

fix: make PICKLIST_INACTIVE_VALUES_EXCEEDED a 400 error #2079

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/core/remotes/impl/salesforce/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1748,6 +1748,7 @@ ${modifiedAfter ? `WHERE SystemModstamp > ${modifiedAfter.toISOString()} ORDER B
case 'REQUIRED_FIELD_MISSING':
case 'STRING_TOO_LONG':
case 'TOO_MANY_ENUM_VALUE':
case 'PICKLIST_INACTIVE_VALUES_EXCEEDED':
return new BadRequestError(inferredTitle, { cause: error, origin: 'remote-provider' });
case 'INVALID_ID_FIELD':
case 'INVALID_LOCATOR':
Expand Down
Loading