GET v{version}/errors/not-authorized

Details

Not authorized 401 response. This error is returned if the current requested is not authorized to access the requested end point. This could be because a auth token has expired, or it could be that an endpoint is requested that the API client has not been granted permission to access.

https://api.procurewizard.com/v1.0/errors/not-authorized

Request

URI Parameters

These are parameters passed as part of the URL in the request.

Name Description Type Additional information
version

The API version parameter. The current version is 1.0.

string

None

Response

Response Description

A response object of ErrorResponse
Name Description Type Additional information
errors

The current collection of errors.

Collection of Error

None

jsonApi

Implementation details of JSON:API.

Implementation

None

Response Formats

Example responses of what the data might contain.

    
{
  "errors": [
    {
      "id": "fefcbab6ad1a47009b9660914374eb6a",
      "links": {},
      "status": "Continue",
      "code": "400",
      "title": "Example Error",
      "detail": "Example error details.",
      "source": {
        "pointer": {},
        "parameter": "Sample string 2"
      },
      "meta": {
        "copyright": "© 2025 The Access Group"
      }
    },
    {
      "id": "fefcbab6ad1a47009b9660914374eb6a",
      "links": {},
      "status": "Continue",
      "code": "400",
      "title": "Example Error",
      "detail": "Example error details.",
      "source": {
        "pointer": {},
        "parameter": "Sample string 2"
      },
      "meta": {
        "copyright": "© 2025 The Access Group"
      }
    }
  ],
  "jsonApi": {
    "version": "1.0"
  }
}
    
    
<ErrorResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.ErrorManagement.Debugging">
  <JsonApi xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi" xmlns="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api">
    <d2p1:Version>1.0</d2p1:Version>
  </JsonApi>
  <Errors>
    <Error>
      <Code>400</Code>
      <Detail>Example error details.</Detail>
      <Id>fefcbab6ad1a47009b9660914374eb6a</Id>
      <Links />
      <Meta xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
        <d4p1:Copyright>© 2025 The Access Group</d4p1:Copyright>
      </Meta>
      <Source xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
        <d4p1:Parameter>Sample string 2</d4p1:Parameter>
        <d4p1:Pointer />
      </Source>
      <Status>Continue</Status>
      <Title>Example Error</Title>
    </Error>
    <Error>
      <Code>400</Code>
      <Detail>Example error details.</Detail>
      <Id>fefcbab6ad1a47009b9660914374eb6a</Id>
      <Links />
      <Meta xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
        <d4p1:Copyright>© 2025 The Access Group</d4p1:Copyright>
      </Meta>
      <Source xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcureWizard.Infrastructure.Api.JsonApi">
        <d4p1:Parameter>Sample string 2</d4p1:Parameter>
        <d4p1:Pointer />
      </Source>
      <Status>Continue</Status>
      <Title>Example Error</Title>
    </Error>
  </Errors>
</ErrorResponse>
    

Back