salesforce-common-errors

Featured

Diagnose and fix Salesforce common errors, SOQL issues, and API exceptions. Use when encountering Salesforce errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "salesforce error", "fix salesforce", "salesforce not working", "debug salesforce", "SOQL error", "salesforce exception".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Salesforce Common Errors ## Overview Quick reference for the most common Salesforce API errors with real error codes, messages, and solutions. ## Prerequisites - Salesforce connection established (jsforce or simple-salesforce) - Access to Setup in your Salesforce org - Familiarity with sObject field API names ## Instructions ### Step 1: Identify the Error Check the `errorCode` field in the API response or the exception from jsforce. ### Step 2: Match to Error Below --- ### INVALID_LOGIN — Authentication Failed ``` [{"message":"INVALID_LOGIN: Invalid username, password, security token; or user locked out.","errorCode":"INVALID_LOGIN"}] ``` **Cause:** Wrong credentials or security token. **Solution:** ```bash # Reset security token: Setup > My Personal Information > Reset My Security Token # Append token to password: password + securityToken # Verify IP is whitelisted or token is appended echo "Password format: ${SF_PASSWORD}${SF_SECURITY_TOKEN}" ``` --- ### INVALID_FIELD — Wrong Field Name in SOQL ``` [{"message":"SELECT Id, FullName FROM Account\n ^\nERROR: No such column 'FullName' on entity 'Account'","errorCode":"INVALID_FIELD"}] ``` **Cause:** Field API name does not exist on the sObject. **Solution:** ```typescript // Check available fields via describe const meta = await conn.sobject('Account').describe(); const fieldNames = meta.fields.map(f => f.name); console.log('Available fields:', fieldNames.join(', ')); // Common mistake: "FullName" vs "...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

salesforce-known-pitfalls

Identify and avoid Salesforce anti-patterns including SOQL N+1, governor limit violations, and API waste. Use when reviewing Salesforce code for issues, onboarding new developers, or auditing existing Salesforce integrations for best practices violations. Trigger with phrases like "salesforce mistakes", "salesforce anti-patterns", "salesforce pitfalls", "salesforce what not to do", "salesforce code review".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesloft-common-errors

Diagnose and fix SalesLoft API errors: 401, 403, 422, 429, and 5xx. Use when encountering SalesLoft errors, debugging failed requests, or troubleshooting OAuth token issues. Trigger: "salesloft error", "fix salesloft", "salesloft not working", "salesloft 429".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesforce-debug-bundle

Collect Salesforce debug evidence including API limits, debug logs, and org info for support tickets. Use when encountering persistent issues, preparing support tickets, or collecting diagnostic information for Salesforce problems. Trigger with phrases like "salesforce debug", "salesforce support bundle", "collect salesforce logs", "salesforce diagnostic", "salesforce debug log".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesforce-core-workflow-a

Execute Salesforce CRUD operations on standard sObjects with SOQL and REST API. Use when creating, reading, updating, or deleting Accounts, Contacts, Leads, or Opportunities via the Salesforce API. Trigger with phrases like "salesforce CRUD", "salesforce create record", "salesforce update account", "salesforce SOQL query", "salesforce REST API".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesforce-hello-world

Create a minimal working Salesforce example with SOQL queries and sObject CRUD. Use when starting a new Salesforce integration, testing your setup, or learning basic Salesforce API patterns. Trigger with phrases like "salesforce hello world", "salesforce example", "salesforce quick start", "first salesforce query", "salesforce SOQL".

2,266 Updated today
jeremylongshore