OXAUDIT WHITEPAPER
Request an Audit
  • 🔋OXAUDIT ECOSYSTEM: Where Blockchain Security Meets Education
  • 🛡️SERVICES
    • Smart Contract Audits
      • What is a Smart Contract Audit?
      • Types of Vulnerabilities Detected
        • Reentrancy Attacks
        • Integer Overflows/Underflows
        • Access Control Issues
        • Logic Errors
        • Gas Optimization
        • Front-Running
        • Denial of Service (DoS) Attacks
      • Audit Process Overview
    • DApp Auditing
      • Introduction to DApp Security
      • Common Risks in DApp Development
      • How OXAudit Assesses DApp Security
    • Penetration Testing
      • What is a Penetration Testing
      • Tools and Techniques Used
      • Best Practices and Recommendations
    • Layer 2 Scaling Audits
      • What is a Layer 2 Security
      • Common Layer 2 Vulnerabilities
      • OXAudit’s Layer 2 Auditing Approach
  • 🛡️TOOLS
    • AI Vulnerabilities Finder
    • Multi-chain Contract Scan
      • Overview and Purpose
      • Supported Contract Types
      • Running an Initial Scan
  • 🛡️OXAUDIT ANALYTICS FRAMEWORK
    • OXAudit Solidity Framework:Core Functions
    • Step-by-Step Guide
    • Benefits
      • for Developers
      • for Trader
    • Upcoming Features
  • 🛡️FEATURES
    • Revenue Sharing Model
      • Overview
      • Tiers
      • Distribution Mechanics
      • Benefits to Holders
    • OXAudit Educational Program
      • Introduction
      • Program Overview
      • Core Features of the Program
    • API Reference
      • Authentication
      • Endpoints
      • Parameters
      • Response Formats
      • Error Codes
    • Tokenomics
  • ⚖️LEGAL
    • TERM AND CONDITION
    • PRIVACY POLICY
  • đź’»OFFICIAL LINKS
    • WEBSITE
    • TWITTER
    • TELEGRAM
    • Dapp
    • BLOGS
Powered by GitBook
On this page
  1. FEATURES
  2. API Reference

Error Codes

Error Codes

When using the API, you might encounter error codes if something goes wrong with your request. Understanding these error codes will help you troubleshoot issues more efficiently.

  1. 400 Bad Request

    • Cause: There may be missing or incorrect parameters in your request.

    • Solution: Double-check all required fields and ensure your data is correctly formatted.

  2. 401 Unauthorized

    • Cause: Your API key is missing or invalid.

    • Solution: Ensure the Authorization header includes a valid API key in the format Bearer YOUR_API_KEY.

  3. 403 Forbidden

    • Cause: Your API key lacks the necessary permissions for this action.

    • Solution: Verify the permissions associated with your API key. You may need to update permissions or use a key with higher access.

  4. 404 Not Found

    • Cause: The endpoint or resource you’re trying to access doesn’t exist.

    • Solution: Confirm the endpoint URL and ensure any IDs (like audit_id) are correct.

  5. 429 Too Many Requests

    • Cause: You have exceeded the rate limit for API requests.

    • Solution: Wait a moment and try again. Consider implementing request throttling in your integration.

  6. 500 Internal Server Error

    • Cause: There is an issue on OXAudit’s end, possibly due to server maintenance or an unexpected error.

    • Solution: Wait and try again. If the issue persists, contact OXAudit support.

PreviousResponse FormatsNextTokenomics

Last updated 6 months ago

🛡️