flexport-common-errors

Featured

Diagnose and fix common Flexport API errors including HTTP status codes, webhook failures, and data validation issues. Trigger: "flexport error", "fix flexport", "flexport not working", "debug flexport API".

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

# Flexport Common Errors ## Overview Quick reference for the most common Flexport API v2 errors. The API returns standard HTTP codes with JSON error bodies containing `code`, `message`, and sometimes `details` fields. ## Error Reference ### 401 Unauthorized — Invalid or Missing API Key ```json { "error": { "code": "UNAUTHORIZED", "message": "Invalid API key" } } ``` **Causes:** Missing `Authorization` header, expired JWT token, revoked API key. **Fix:** ```bash # Verify key is set echo $FLEXPORT_API_KEY | head -c 10 # Test with cURL curl -s -o /dev/null -w "%{http_code}" \ -H "Authorization: Bearer $FLEXPORT_API_KEY" \ -H "Flexport-Version: 2" \ https://api.flexport.com/shipments?per=1 ``` ### 403 Forbidden — Insufficient Permissions **Causes:** API key lacks required scope, IP whitelist blocking, sandbox key used on production. **Fix:** Check key permissions in Flexport Portal > Settings > Developer. Ensure key scope includes the endpoint you are calling. ### 404 Not Found — Resource Does Not Exist ```json { "error": { "code": "NOT_FOUND", "message": "Shipment shp_xxx not found" } } ``` **Causes:** Wrong ID format, resource deleted, using test ID in production. **Fix:** List resources first to get valid IDs: ```bash curl -s -H "Authorization: Bearer $FLEXPORT_API_KEY" \ -H "Flexport-Version: 2" \ https://api.flexport.com/shipments?per=1 | jq '.data.records[0].id' ``` ### 422 Unprocessable Entity — Validation Failed ```json { "error": { "code":...

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

flexport-install-auth

Install and configure Flexport API authentication with API keys or OAuth credentials. Use when setting up a new Flexport logistics integration, configuring bearer tokens, or initializing the Flexport REST API client for shipment and supply chain operations. Trigger: "install flexport", "setup flexport", "flexport auth", "flexport API key".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flexport-incident-runbook

Execute Flexport incident response for API outages, webhook failures, and supply chain data sync issues with triage and mitigation steps. Trigger: "flexport incident", "flexport outage", "flexport down", "flexport emergency".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flexport-prod-checklist

Execute Flexport production deployment checklist for logistics integrations. Use when deploying shipment tracking, booking automation, or supply chain integrations to production with proper monitoring and rollback. Trigger: "flexport production", "deploy flexport", "flexport go-live checklist".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flexport-hello-world

Create a minimal working Flexport example — list shipments and track containers. Use when starting a new Flexport integration, testing your setup, or learning the Flexport REST API v2 patterns. Trigger: "flexport hello world", "flexport example", "flexport quick start".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flexport-security-basics

Apply Flexport API security best practices including webhook signature verification, API key rotation, and least-privilege access patterns. Trigger: "flexport security", "flexport webhook signature", "secure flexport API key".

2,266 Updated today
jeremylongshore