MicrosoftODataExtensionErrors 1.0.0-beta

Additional Details

Incorrect name

This is a prerelease version of MicrosoftODataExtensionErrors.
dotnet add package MicrosoftODataExtensionErrors --version 1.0.0-beta                
NuGet\Install-Package MicrosoftODataExtensionErrors -Version 1.0.0-beta                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MicrosoftODataExtensionErrors" Version="1.0.0-beta" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MicrosoftODataExtensionErrors --version 1.0.0-beta                
#r "nuget: MicrosoftODataExtensionErrors, 1.0.0-beta"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MicrosoftODataExtensionErrors as a Cake Addin
#addin nuget:?package=MicrosoftODataExtensionErrors&version=1.0.0-beta&prerelease

// Install MicrosoftODataExtensionErrors as a Cake Tool
#tool nuget:?package=MicrosoftODataExtensionErrors&version=1.0.0-beta&prerelease                

Samples

Http 400 BadRequest

Required field or parameter missing

{
  "error": {
    "code": "BadRequest",
    "message": "The server could not process the request",
    "target":"TARGET WILL NOT BE SUPPORTED",
    "annotations":"",
    "details": [
      {
        "code": "RequiredFieldOrParameterMissing",
        "message": "The parameter `{id}` is missing. Odata context url (/users/{id})",
        "target":"TARGET WILL NOT BE SUPPORTED",
      }
    ],
    "innerError": {
     "code": "Malformed",
     "message": "Request query options are malformed",
      "type": "Request Validation exception",
      "innerError" : {
        "code": "MissingParams",
        "message": "Parameter [parameter name] is missing",
        "type": "Parameter validation exception"
    }
    }
  }
}

Bad Request with unsupported segment

{
  "error": {
    "code": "BadRequest",
    "message": "Unsupported segment type.",
    "target":"TARGET WILL NOT BE SUPPORTED",
    "annotations":"",
    "details": [
      {
        "code": "NotSupported",
        "message": "Unsupported segment type. ODataQuery: users/48d31887-5fad-4d73-a9f5-3c356e68a038/manager/oaiudflasdfj",
        "target":"TARGET WILL NOT BE SUPPORTED"
      }
    ],
    "innerError": {
     "code": "NotSupported",
     "message": "The segment is not supported",
      "type": "Request validation exception"
    }
  }
}

Bad request error with no details and minimal inner error

: : : note

This could be a possible use case but we want to move away from it.

: : :

 "error": {
        "code": "BadRequest",
        "message": "Unsupported segment type. ODataQuery: users/48d31887-5fad-4d73-a9f5-3c356e68a038/manager/oaiudflasdfj",
        "innerError": {
            "request-id": "90b149fb-c5fa-44de-9026-f358a590b616",
            "date": "2018-10-05T23:47:25"
        }
    }

Http 404 Not Found

{
  "error": {
    "code": "NotFound",
    "message": "The server could not locate the requested resource",
    "target":"TARGET WILL NOT BE SUPPORTED",
    "annotations":"",
    "details": [
      {
        "code": "ResourceNotFound",
        "message": "The requested resource `{manager}` could not be found.",
        "target":"TARGET WILL NOT BE SUPPORTED",
      }
    ],
    "innerError": {
     "code": "ResourceNotFound",
     "message": "The requested resource could not be found",
      "type": "Resource not found exception"
    }
  }
}

Http 429 Throttling

{
  "error": {
    "code": "Throttling",
    "message": "Request has been throttled",
    "target":"TARGET WILL NOT BE SUPPORTED",
    "annotations":"",
    "details": [
      {
        "code": "Throttling",
        "message": "Throttled due to throttling [policyname] Policy",
        "target":"TARGET WILL NOT BE SUPPORTED",
      }
    ],
    "innerError": {
     "code": "QuotaLimitExceeded",
     "message": "Quota [limit number] limit reached",
     "type": "Throttling exception"
    }
  }
}

Http 500 Server error

 "error": {
        "code": "unknownError",
        "message": "Unsupported segment type. ODataQuery: users/48d31887-5fad-4d73-a9f5-3c356e68a038/manager/oaiudflasdfj",
        "innerError": {
            "request-id": "90b149fb-c5fa-44de-9026-f358a590b616",
            "date": "2018-10-05T23:47:25"
        }
    }
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-beta 461 10/4/2019 1.0.0-beta is deprecated.

To update with a link.