Nexta Developer Portal

Nexta Developer Portal

  • Guides
  • API

›Introduction

Introduction

  • Overview
  • Getting started
  • Authentication and authorization
  • API health
  • Error handling

Guides

  • Client onboarding
  • Campaign creation
  • Banner upload
  • Goals API
  • Campaign Set Status
  • Facebook Special Ad Categories

Error handling

Nexta API can return three types of errors.

Errors without content

Some of the errors are returned without JSON content. E.g. 404 NotFound.

Bad request errors

If request body validation is performed and body is not valid or contains invalid values we will return 400 BadRequest HTTP Status code and result in following format:

{
    "PropertyName": ["Validation message", "Validation message 2"],
    "PropertyName2": ["Validation message 3"]
}

Service errors

Any other error will be returned as ServiceError JSON object.

FieldTypeDescription
ServicestringService name
CodestringError code
HttpStatusCodeintHTTP Status Code
MessagestringError message
TraceIdGUIDError trace
← API healthClient onboarding →
  • Errors without content
  • Bad request errors
  • Service errors
Copyright © 2024 Nexta ApS