🖥️
RocketCAD Docs
RocketCADVPS HostingSupport DiscordFollow us on Twitter!
  • Home
  • Helpful Links
    • Join our Discord
    • Support Center
    • Gaming VPS Hosting
  • About RocketCAD
    • How We Started
    • RocketCAD Pricing
    • Frequently Asked Questions
    • Getting Unlimited for Free
    • Security & Privacy
  • Getting Started with v6
    • Our Mission
    • MDT Walkthrough
      • MDT Dashboard
      • Viewing an Assignment
    • CAD Walkthrough
      • Creating a Call
      • Editing a Call
      • Using the Command Line
      • Managing Units
      • Creating and Managing BOLOs
      • Information Searches
    • Integration Resources
      • Upgrading your Integration
      • Troubleshooting Integration Issues
    • Getting Started as an Owner
  • Walkthroughs & Tutorials
    • System
      • Portal
    • Admins
    • Owners
      • How to Connect LiveMap to RocketCAD
      • How to Cancel your Community
      • How to Change Your Plan
    • Error Messages
      • API Error: 1A
      • API Error: 1B
      • Error 2A - Missing Permissions
      • Tracking Location Errors
      • We do not have the information on your last patrol
      • Patrol Configuration Error
  • How To's
    • How to Find Steam Hex
    • Portal
      • How to Login to Patrol
      • How to Enable 2-Factor Authentication
      • How to Delete Patrol Configurations
  • RocketCAD Useful Info
    • Data & Metric Collection
    • Command Line Commands
    • Call-Takers Guide
  • RocketCAD Development
    • Changelog
  • Developers
    • Introduction to the API
    • Authentication
    • Errors
      • Troubleshooting API Errors
    • RequestIDs
    • New Endpoints
      • 911
      • Panic Button
      • Location Ping
    • Previous MDT Functions
      • Vehicle Search
      • Person Search
      • Log User Off
      • Set Notepad
      • Firearm Search
      • Toggle Emergency Tone
      • Create Call
      • Create BOLO
      • Toggle Broadcast Tone
      • Change AOP
      • Assign to Call
      • Update Unit Status
Powered by GitBook
On this page

Was this helpful?

  1. Developers

Errors

Let's learn more about the RocketCAD API Errors & Error Codes you may encounter when building.

The RocketCAD API takes advantage of conventional HTTP response codes to indicate the success or failure of an API request in addition to our built-in error codes to assist you in building your integration.

In general: Codes in the 2XX range indicate success whereas codes in the 4XX range indicate failure in the information provided (ie; a missing API Key or other required body parameter). Failures in the 5XX range indicate a server-side failure with RocketCAD, and are rare.

{
    "status": "success",
    "response": {
        "success": true,
        "message": "This API Key is valid & associated with an active community."
        "requestID": "OLV213JN6XL1BLS"
    }
}

This is an example response from the Ping API Endpoint.

{
    "statusCode": 400,
    "body": {
        "status": "MISSING_DATA",
        "message": "Missing parameter for workflow ping: parameter api_key"
    }
}

This is an example response from the Ping API Endpoint.

{
    "statusCode": 404,
    "body": {
        "status": "NOT_FOUND",
        "message": "Workflow not found ping"
    }
}

This is an example response from the Ping API Endpoint.

Common RocketCAD Errors

In addition to conventional HTTP response codes, RocketCAD has a built-in error code system designed to assist you in troubleshooting.

In general: Codes in the 1XX range will indicate an API Key issue (ie; missing permissions, invalid key) and codes in the 2XX range will indicate a Rate Limiting issue (ie; you've been rate limited, are approaching a rate limit)

{
    "status": "success",
    "response": {
        "success": false,
        "message": "The provided API Key is not valid or lacks permissions. modcol.co/e1a",
        "requestID": "3KUXZ1KUNUDJN7S"
    }
}

This is an example response from the Ping API Endpoint

{
    "status": "success",
    "response": {
        "success": false,
        "message": "This API Key has been rate limited, please try your request again in a moment. modcol.co/e2a",
        "requestID": "IU7DRSTYVNLLA2V"
    }
}

This is an example response from the Ping API Endpoint

To better troubleshoot an individual error, see the endpoint's documentation.

PreviousAuthenticationNextTroubleshooting API Errors

Last updated 3 years ago

Was this helpful?