brightdata-common-errors
Diagnose and fix Bright Data common errors and exceptions. Use when encountering Bright Data errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "brightdata error", "fix brightdata", "brightdata not working", "debug brightdata".
What this skill does
# Bright Data Common Errors
## Overview
Diagnostic reference for the most common Bright Data proxy and API errors with real solutions and fix commands.
## Prerequisites
- Bright Data zone configured
- Proxy credentials available
- Access to error logs
## Instructions
### Step 1: Identify the Error
Check your proxy response status code or error message against the table below.
### Step 2: Apply the Fix
Follow the specific solution for your error code.
## Error Reference
### 407 Proxy Authentication Required
```
HTTP/1.1 407 Proxy Authentication Required
```
**Cause:** Username format is wrong or credentials are invalid.
**Fix:**
```bash
# Verify credential format — must be exactly:
# brd-customer-{CUSTOMER_ID}-zone-{ZONE_NAME}
echo "Username: brd-customer-${BRIGHTDATA_CUSTOMER_ID}-zone-${BRIGHTDATA_ZONE}"
# Test with curl
curl -x "http://brd-customer-${BRIGHTDATA_CUSTOMER_ID}-zone-${BRIGHTDATA_ZONE}:${BRIGHTDATA_ZONE_PASSWORD}@brd.superproxy.io:33335" \
https://lumtest.com/myip.json
```
---
### 502 Bad Gateway
```
HTTP/1.1 502 Bad Gateway
X-Luminati-Error: target_site_blocked
```
**Cause:** Target site blocked the request despite Web Unlocker retries.
**Fix:**
- Increase timeout to 120s (Web Unlocker needs time to solve CAPTCHAs)
- Switch to Scraping Browser zone for JS-heavy sites
- Add `-country-us` to username for geo-specific content
---
### SSL Certificate Errors
```
Error: SSL: CERTIFICATE_VERIFY_FAILED
```
**Cause:** Missing Bright Data CA certificate for HTTPS proxying.
**Fix:**
```bash
# Download the Bright Data CA certificate
curl -sO https://brightdata.com/ssl/brd-ca.crt
# Node.js
export NODE_EXTRA_CA_CERTS=./brd-ca.crt
# Python requests
# requests.get(url, proxies=proxies, verify='./brd-ca.crt')
```
---
### ETIMEDOUT / Connection Timeout
```
Error: connect ETIMEDOUT brd.superproxy.io:33335
```
**Cause:** Firewall blocking outbound connections to Bright Data.
**Fix:**
```bash
# Test connectivity
nc -zv brd.superproxy.io 33335
# If blocked, allow outbound TCP to brd.superproxy.io:33335
# For Scraping Browser, also allow port 9222
nc -zv brd.superproxy.io 9222
```
---
### 403 Forbidden (Zone Inactive)
**Cause:** Zone is not active or has been paused.
**Fix:** Go to https://brightdata.com/cp, navigate to the zone, and click "Activate".
---
### 429 Too Many Requests
**Cause:** Exceeded concurrent request limit for your zone.
**Fix:**
```typescript
// Implement request queuing
import PQueue from 'p-queue';
const queue = new PQueue({ concurrency: 10, interval: 1000, intervalCap: 20 });
const result = await queue.add(() => client.get(url));
```
---
### Empty Response Body
**Cause:** Target returned a CAPTCHA page that Web Unlocker couldn't solve, or wrong zone type for the target.
**Fix:**
- Check zone type matches target (Web Unlocker for static, Scraping Browser for JS)
- Verify target URL is accessible in a regular browser
- Try adding `&brd_json=1` for SERP API requests
---
### X-Luminati-Error Headers
Bright Data returns error details in response headers:
| Header Value | Meaning | Action |
|-------------|---------|--------|
| `target_site_blocked` | Site anti-bot blocked request | Use Scraping Browser |
| `ip_banned` | IP was banned by target | Retry (auto-rotates IP) |
| `captcha` | CAPTCHA challenge failed | Increase timeout |
| `connection_failed` | Could not reach target | Verify target URL |
| `auth_failed` | Credential error | Check username/password |
## Quick Diagnostic Commands
```bash
# Check Bright Data status
curl -s api/v2/status.json | python3 -m json.tool
# Test proxy connectivity
curl -x "http://brd-customer-${BRIGHTDATA_CUSTOMER_ID}-zone-${BRIGHTDATA_ZONE}:${BRIGHTDATA_ZONE_PASSWORD}@brd.superproxy.io:33335" \
-o /dev/null -s -w "HTTP %{http_code} in %{time_total}s\n" \
https://lumtest.com/myip.json
# Check zone credentials
curl -H "Authorization: Bearer ${BRIGHTDATA_API_TOKEN}" \
https://api.brightdata.com/zone/get_active_zones
```
## Escalation Path
1. Collect request/response headers (including `X-Luminati-*` headers)
2. Run `brightdata-debug-bundle` to create diagnostic package
3. Check for outages
4. Contact support with zone name, error headers, and timestamps
## Resources
- Bright Data Error Reference
- Status Page
- [Support Portal](https://brightdata.com/cp/support)
## Next Steps
For comprehensive debugging, see `brightdata-debug-bundle`.
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.