NoCompatibleVersionFoundException Class
This error indicates that a request was made against an endpoint using an Accept header that includes an api-version.
public sealed class NoCompatibleVersionFoundException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 NoCompatibleVersionFoundException
Remarks
Section titled “Remarks”Ensure, that ‘Accept’ header specifies an api-version parameter supported by this endpoint (check the ‘X-Supported-Api-Versions’ header of the response) or don’t include an api-version parameter to request the services default version.
If the service has enabled version information endpoints, you may also check these to determine supported api versions.
This exception is identified by error code HK18006.
Properties
Section titled “Properties”NoCompatibleVersionFoundException.EquivalentHttpStatusCode Property
Section titled “NoCompatibleVersionFoundException.EquivalentHttpStatusCode Property”Defines the HTTP status code that a web service should respond with if the current request fails due to this exception.
protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }Property Value
Section titled “Property Value”Was this page helpful?Thanks for your feedback!