Error Codes

Error Code

HTTP Status Code

API Endpoint / Resource

Reason for the Error

Error Cause

PT-006

400

Get Test by Test ID

 

Get Tests by Product ID

Test ID invalid format

Test ID Invalid format doesn't match the format: XXNNXXNN (where X=alpha, N=numeric).

PT-007

400

Get Test by Test ID

 

Get Tests by Product ID

Count parameter must be <= 20

The parameter Count has been specified as greater than 20.

PT-023

400

All

{cause generated by the Anypoint Platform}

RAML validation failure

PT-025

400

Post Test

Test Type not valid for the specified product

The specified Test Type is not valid for the type of product specified

PT-026

400

Post Test

Product Type {product type} is not supported

Product type is known but not on roadmap for this API

PT-027

400

Post Test

Product ID is not valid

Product ID does not match any known Product pattern

PT-032

400

Post Test

Product Type {Product Type} has not been implemented

Product type matches the pattern for a PSTN product; these are on the roadmap for the API.

Auth-001 or Auth-002 or Auth-003

403

All

Missing authorisation setup. Contact Chorus API support

No entry associated in the cross-reference table for the specified Client_ID.

PT-010

403

Post Test

User Type unable to create {Test Type} test

Unauthorised user specified Post Test with Test Type opticalInfo or lineQualityDiagnosis.

PT-005

404

Post Test

Product ID not found

Cannot find the specified Product ID.

PT-022 or PT-004

404

Get Test by Test ID

Test ID not found

Cannot find Test ID.

PT-012

500

Get Product by Product ID

Downstream API exception

500 http status code from downstream system

PT-014

500

Post Test

Downstream API exception

500 http status code received from downstream system.

PT-016

500

All

Downstream API Exception

If any other error, that is not already explicitly handled, received from the downstream system.

PT-018

500

Get Test by Test ID

 

Get Tests by Product ID

Downstream API Exception

500 http status code received from the downstream system.

PT-020

500

Get Test by Test ID

 

Get Tests by Product ID

Connection error when attempting to call downstream system

500 http status code received from the downstream system.

PT-011

503

Get Product by Product ID

Connection error when attempting to call downstream system

503 http status code received from the downstream system.

PT-013

503

Post Test

Connection error when attempting to call downstream system

503 http status code received from the downstream system.

PT-015

503

Get Test by Test ID

 

Get Tests by Product ID

Connection error when attempting to call downstream system

408 http status code received from the downstream system, or Test Status = Failure.

PT-017

503

Get Test by Test ID

 

Get Tests by Product ID

Connection error when attempting to call downstream system

503 http status code received from the downstream system.

PT-019

503

Get Test by Test ID

 

Get Tests by Product ID

Connection error when attempting to call downstream system

503 http status code received from the downstream system.

PT-028

503

All

A sub system is currently busy – try again

Congestion at a lower level.