100 live entries · hand-written · curated
Salesforce errors,
finally explained.
One page per error string. Plain-English cause. How to actually fix it - written by hand, no AI slop.
Every error, A to Z
The complete library. Prefer searching? Use the box above - this list is the same 100 entries, laid out for skimming.
- @wire(getRecord, ...) requires the fields property
- 503 Service Unavailable / SERVER_UNAVAILABLE / The Salesforce server is temporarily unavailable
- Action failed: c:myComponent$controller$myAction [<JS error message>]
- ALREADY_IN_PROCESS: another deployment is in progress
- An unhandled fault has occurred in this flow
- Apex code is approaching a governor limit warning email
- ApexUnitTestClassShouldHaveAsserts / ApexBadCrypto / Code Analyzer violations blocking deploy
- API_DISABLED_FOR_ORG: API is not enabled for this Organization or Partner
- Average test coverage across all Apex Classes and Triggers is XX%, at least 75% required
- BadElement / Element type required / package.xml is malformed
- Cannot change field type from <type1> to <type2> via the API
- Cannot delete this <component>: it is referenced by other components
- Cannot find component: c:myComponent
- Cannot read properties of undefined (reading 'X') — in LWC component lifecycle
- ChangeDataCapture: missing ChangeEventHeader / cannot replay events
- CIRCULAR_DEPENDENCY: Apex class A depends on B, which depends on A
- Couldn't find the subflow with name <X> or no active version
- DUPLICATE_VALUE: duplicate value found
- DUPLICATES_DETECTED: Use one of these records?
- ENOENT: no such file or directory
- ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE_CHECK: record has been modified since you retrieved it
- ENTITY_IS_DELETED: entity is deleted
- ENTITY_IS_LOCKED: entity is locked for approval
- ERROR running force:auth:web:login: Invalid login URL
- EXCEEDED_ID_LIMIT: record limit reached
- Failed to load batch — InvalidBatch: invalid CSV header / unrecognized field
- FIELD_CUSTOM_VALIDATION_EXCEPTION: <your validation rule's error message>
- Flow: changes from this flow won't be saved because of the Save Order of Execution
- INACTIVE_OWNER_OR_USER: operation performed with inactive User
- Initial term of field expression must be a concrete SObject: <type>
- Insufficient Privileges. You do not have the level of access necessary to perform the operation you requested.
- INSUFFICIENT_ACCESS_OR_READONLY: insufficient access rights on cross-reference id
- INVALID_CROSS_REFERENCE_KEY: invalid cross reference id
- INVALID_FIELD_FOR_INSERT_UPDATE
- INVALID_FIELD: <field> is not filterable
- INVALID_FIELD: No such column 'X' on entity 'Y'
- INVALID_FIELD: NULL_FOR_NON_REFERENCE_FIELD: <field> can not be null
- invalid_grant: <reason>
- invalid_grant: invalid_grant - challenge required / TWO_FACTOR_REQUIRED
- INVALID_LOGIN: Invalid username, password, security token; or user locked out
- INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST: <value>: bad value for restricted picklist field
- INVALID_SEARCH: search term must be longer than one character
- INVALID_SESSION_ID: Session expired or invalid
- INVALID_TYPE: sObject type 'X' is not supported
- Lightning component cannot be created: c:myComponent
- LWC1009: <template> directives are not allowed at the top level
- LWC1503: @wire decorator's parameter must be a function
- MALFORMED_QUERY: unexpected token
- Method does not exist or incorrect signature
- Mixed Content: The page at 'https://...' was loaded over HTTPS, but requested an insecure resource
- MIXED_DML_OPERATION: DML operation on setup object is not allowed after you have updated a non-setup object (or vice versa)
- My Domain is required for this org / Lightning components require My Domain to be deployed
- Number of iterations exceeded. The flow can't perform more than 2,000 loop iterations.
- NUMBER_OUTSIDE_VALID_RANGE: <field>: value outside of valid range
- OPERATION_TOO_LARGE: Aggregate query has too many rows for direct assignment, use FOR loop
- Profile permissions cannot be granted because the user license doesn't include them
- Refused to connect to <url> because it violates the following Content Security Policy directive
- REQUEST_RUNNING_TOO_LONG: Your request was running for too long
- REQUIRED_FIELD_MISSING: Required fields are missing: [FieldName]
- Sandbox refresh failed / Sandbox is in Copying status
- SOQL injection vulnerability — Database.query with concatenated user input
- Source push not allowed in this org. Source tracking is not enabled.
- STORAGE_LIMIT_EXCEEDED: storage limit exceeded
- STRING_TOO_LONG: data value too large
- System.AssertException: Assertion Failed: Expected: <X>, Actual: <Y>
- System.AsyncException: Future method cannot be called from a future or batch method
- System.CalloutException: Read timed out
- System.CalloutException: SSLHandshakeException: PKIX path building failed: unable to find valid certification path to requested target
- System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out
- System.DmlException: Insert failed (or Update / Upsert / Delete failed)
- System.JSONException: <message>
- System.LimitException: Apex CPU time limit exceeded
- System.LimitException: Apex heap size too large
- System.LimitException: Maximum stack depth has been reached: 1001
- System.LimitException: Maximum trigger depth exceeded
- System.LimitException: Too many callouts: 101
- System.LimitException: Too many DML statements: 151
- System.LimitException: Too many Email Invocations: 11
- System.LimitException: Too many query rows: 50001
- System.LimitException: Too many SOQL queries: 101
- System.LimitException: Too many SOSL queries: 21
- System.ListException: List index out of bounds: <N>
- System.MathException: Divide by 0
- System.NullPointerException: Attempt to de-reference a null object
- System.QueryException: List has no rows for assignment to SObject
- System.QueryException: List has no rows for assignment to SObject (in test context)
- System.QueryException: Non-selective query against large object type
- System.SObjectException: SObject row was retrieved via SOQL without querying the requested field
- System.TypeException: Invalid id: <value>
- System.UnexpectedException: salesforce system error / Apex script unhandled exception
- The Apex action <name> couldn't be invoked because it's not @InvocableMethod or has the wrong signature
- The Apex job named "<name>" is already scheduled for execution
- The flow failed to access the value for {!variable} because it hasn't been set or assigned
- The resource ... is not allowed by API version <X>
- This page can't be displayed. Try reloading the page, or contact your administrator.
- UNABLE_TO_LOCK_ROW: unable to obtain exclusive access to this record or 1 records
- UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support
- You don't have access to this record. Ask your administrator for help.
- You have exceeded the maximum number of scheduled Apex jobs (100)
- Your trial has expired / EVALUATION_EXPIRED / Sandbox has expired