Skip to main content

Authentication Errors

Error Message: 401 Unauthorized - Invalid API keyCauses:
  • API key is incorrect or expired
  • API key not included in Authorization header
  • Wrong header format
Solutions:
Prevention:
  • Store API keys securely in environment variables
  • Implement API key rotation procedures
  • Monitor for expired keys
Error Message: 400 Bad Request - Invalid CIEC credentialsCauses:
  • Incorrect CIEC username or password
  • Expired CIEC password
  • Account locked due to failed attempts
  • SAT system maintenance
Solutions:
  1. Verify credentials by logging into SAT portal manually
  2. Reset CIEC password if expired
  3. Wait 30 minutes if account is locked
  4. Check SAT system status
Example Response:
Error Message: 429 Too Many Requests - Rate limit exceededRate Limits:
  • Extraction Creation: 10 requests per hour
  • Status Checks: 100 requests per minute
  • Document Downloads: 1000 requests per hour
Solutions:

Extraction Errors

Common Causes:
  • Invalid date range (too large or in future)
  • RFC not found in SAT system
  • SAT system temporary unavailability
  • Network connectivity issues
Diagnostic Steps:
  1. Check extraction status details:
  1. Verify RFC exists in SAT:
Solutions:
  • Reduce date range to maximum 3 months
  • Verify RFC is active and registered
  • Retry during SAT business hours (6 AM - 10 PM Mexico time)
Possible Causes:
  • No documents exist for the specified period
  • Incorrect direction filter (INBOUND vs OUTBOUND)
  • Wrong information type
  • Overly restrictive filters
Diagnostic Questions:
  • Are you sure documents exist for this period?
  • Is the direction filter correct?
  • Are there any emitter filters applied?
Example - Remove Filters:
Error: Extraction remains in PROCESSING status for over 1 hourCauses:
  • Large date range with many documents
  • SAT system overload
  • Network connectivity issues
Solutions:
  1. Split Large Requests:
  1. Monitor Progress:

Document Download Errors

Error Message: 404 Not Found - Document not foundCauses:
  • Document ID is incorrect
  • Document has expired (retention policy)
  • Document was not successfully extracted
Solutions:
  1. Verify document exists in extraction:
  1. Check document list in response:
Error: Requested file type (XML/PDF) not availableAvailability by Document Type:
  • INVOICE: XML ✅, PDF ✅
  • TAX_STATUS: XML ❌, PDF ✅
  • TAX_RETENTION: XML ✅, PDF ✅
Solution:
Causes:
  • Large PDF files
  • Network connectivity issues
  • Server overload
Solutions:

Webhook Issues

Diagnostic Checklist:Test Your Webhook:
Common Issues:
  • Using HTTP instead of HTTPS
  • Webhook behind authentication/firewall
  • Slow response times (>30 seconds)
  • Invalid SSL certificates
Verify Webhook Signatures:
Implement Idempotency:

Performance Issues

Diagnostic Steps:
  1. Check API response times:
  1. Identify bottlenecks:
  • Network latency
  • Large response payloads
  • Server processing time
Optimization Strategies:
  • Use pagination for large result sets
  • Implement response caching
  • Minimize payload size
  • Use connection pooling
Problem: Out of memory when downloading large PDF filesSolution - Stream Downloads:

Data Issues

Symptoms:
  • Missing XML elements
  • Corrupted PDF files
  • Truncated content
Solutions:
  1. Re-download the document:
  1. Validate XML structure:
Problem: Special characters not displaying correctlySolutions:

Quick Diagnosis Tool

Use this checklist to quickly diagnose common issues:

Getting Help

When contacting support, please include:
  • API endpoint used
  • Request method (GET, POST, etc.)
  • Request headers (excluding sensitive data)
  • Request payload (excluding credentials)
  • Response status code
  • Response body
  • Complete error message
  • Error code (if available)
  • Timestamp when error occurred
  • Steps to reproduce the issue
  • Expected vs actual behavior
  • Programming language and version
  • SDK/library version (if using)
  • Operating system
  • Network configuration
  • Are you behind a proxy/firewall?

Support Channels

Email Support

support@taxo.coResponse time: 24-48 hours Priority support available for enterprise customers

Developer Forum

Community ForumGet help from other developers Share integration examples

Status Page

status.taxo.coCheck API status and uptime Subscribe to incident notifications

Documentation

Latest API docs and guidesAlways up-to-date Interactive examples