MissingAcceptHeaderInRequestException Class
Thrown when a request was made that did not include an Accept header.
public sealed class MissingAcceptHeaderInRequestException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 MissingAcceptHeaderInRequestException
Remarks
Section titled “Remarks”Ensure that a valid Accept header is included in your request.
This exception is identified by error code HK18005.
Properties
Section titled “Properties”MissingAcceptHeaderInRequestException.EquivalentHttpStatusCode Property
Section titled “MissingAcceptHeaderInRequestException.EquivalentHttpStatusCode Property”A request that does not include an Accept header should return a status code 406 (Not Acceptable).
protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }Property Value
Section titled “Property Value”Was this page helpful?Thanks for your feedback!