AlphaX API Reference Documentation
  • API Introduction
  • General Architecture
  • Authentication
  • Rate Limits
  • HTTP
    • HTTP Headers
    • HTTP Parameters
    • HTTP Compression
    • HTTP Error and Status Codes
    • SSL Requests
    • Sending Data
      • Uplink Data Format V1
      • Uplink Data Format V2
    • Retrieve Data
      • Conduit V4
      • Conduit V6
      • Conduit V7
        • Using Conduit V7
        • Aggregation Features (Optional)
        • Common Issues & Troubleshooting
        • Usage Examples
  • MQTT
    • MQTT Authentication
    • MQTT Broker Address
    • Publishing Data
      • MQTT Publish Format V1
      • MQTT Publish Format V2
Powered by GitBook
On this page

Was this helpful?

  1. HTTP

HTTP Error and Status Codes

The Conduit service will return appropriate HTTP status codes for every request.

Error and Status Messages

Error and Status messages are always returned in a standard JSON format with the status code and message in the body of the response. An example error response:

{
    “code”:”405″,
    ”error”:”Method Not Allowed”
} 

Status messages are returned for certain requests that have been accepted but do not return a resource in the response body. Example:

{
    “code”: 304, 
    “error”: “Operation accepted but not yet complete”
}

Status Codes

Code
Satus
Description

200

Ok

Completed Successfully

304

Not Modified

There was no new data to return

400

Bad Request

The request was invalid or cannot be otherwise served

401

Unauthorised

Authentication failed

403

Forbidden

No permission for the HHTP method or requested resource

404

Resource not Found

Requested resource not found

405

Method Not Allowed

Resource does not support the requested HHTP Method

413

Request too large

Requested time range is greater than maximum 31 day limit

429

Too Many Requests

Request has been rejected for exceeding usage limits

500

Internal Server Error

Error occurred processing the request

PreviousHTTP CompressionNextSSL Requests

Last updated 1 month ago

Was this helpful?