Moshtix Developer Documentation

Moshtix Developer Documentation

  • Docs
  • API Playground
  • Terms Of Use
  • Need Help?

›Getting Started

Getting Started

  • Our API
  • Authentication
  • Queries
  • Mutations
  • Dates
  • Currency
  • Images
  • Errors
  • Webhooks
  • Widgets

Errors

Errors

All GraphQL responses will come back with a 200 OK, even when an error has occured.

Errors can then be extracted from the response.

An example of a validation error can be seen below, which was caused by trying to create an event with an invalid categoryId.

{
  "errors": [
    {
      "message": "Validation errors: {\"valid\":false,\"itemResults\":{\"event\":{\"valid\":false,\"resultsList\":{\"genre\":{\"itemValue\":null,\"errors\":[\"must be entered\"],\"typeName\":\"Event\",\"typeDescription\":\"Event\",\"fieldLabel\":\"Genre\",\"fieldName\":\"genre\",\"isType\":true}},\"resultsObject\":{\"genre\":{\"validation\":\"genre must be entered\"}},\"fields\":{\"genre\":\"genre must be entered\"}}}}",
      "locations": [
        {
          "line": 3,
          "column": 5
        }
      ],
      "path": [
        "viewer",
        "saveEvent"
      ],
      "unhandledException": false
    }
  ],
  "data": {
    "viewer": {
      "saveEvent": null
    }
  }
}

Rate limiting

Docs coming soon...

Depth Limiting

Docs coming soon...

← ImagesWebhooks →
  • Errors
  • Rate limiting
  • Depth Limiting
Copyright © 2025 Moshtix Pty Ltd