Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ Key-value pairs for objects, tables for arrays.
| 0 | Success (check `success` field – action may have returned an error like "person not found") |
| 1 | General/unexpected error |
| 2 | Missing or invalid tokens |
| 3 | Subscription/plan required |
| 3 | Subscription/plan required or free trial exhausted |
| 4 | LinkedIn account issue |
| 5 | Invalid arguments |
| 6 | Rate limited |
Expand All @@ -1011,6 +1011,8 @@ Key-value pairs for objects, tables for arrays.
- **URL normalization.** All LinkedIn URLs in responses are normalized to `https://www.linkedin.com/...` format without trailing slashes.
- **Null fields.** Fields that are unavailable are returned as `null` or `[]`, not omitted.
- **Action limits.** Configurable per-account action limits on the [platform](https://app.linkedapi.io) prevent LinkedIn policy violations. When a limit is reached, you get a `limitExceeded` error.
- **Trial limits.** A `trialLimitReached` error exits with code 3. Subscribe or contact support
for a trial extension before retrying the workflow.

See [Core Concepts](https://linkedapi.io/docs/core-concepts) for more details.

Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linkedapi/linkedin-cli",
"version": "1.2.3",
"version": "1.2.4",
"description": "AI-agent-friendly CLI for controlling LinkedIn accounts and retrieving real-time data.",
"author": "Linked API",
"license": "MIT",
Expand Down Expand Up @@ -43,7 +43,7 @@
"ai-agent"
],
"dependencies": {
"@linkedapi/node": "^2.3.2",
"@linkedapi/node": "^2.3.3",
"@oclif/core": "^4.2.10"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions src/core/errors/error-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export function mapLinkedApiErrorToCliError(error: LinkedApiError): TCliError {
};

case 'subscriptionRequired':
case 'trialLimitReached':
case 'plusPlanRequired':
return {
exitCode: EXIT_CODE.SUBSCRIPTION,
Expand Down