ExtraneousQueryParametersException Class
HAKOM.ErrorHandling.Http.Net.Api.Exceptions
Section titled “HAKOM.ErrorHandling.Http.Net.Api.Exceptions”Indicates that a request was made to a resource with unsupported query parameters.
public sealed class ExtraneousQueryParametersException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 ExtraneousQueryParametersException
Remarks
Section titled “Remarks”When encountering this error, make sure you do not pass along query parameters that are not explicitly supported by the endpoint you are trying to access.
When implementing new endpoints that use custom model binders which bind multiple query parameters to complex objects, make sure all of them call SetBoundQueryParameters(this ModelBindingContext, IEnumerable<string>).
This exception is identified by error code HK09008.
Properties
Section titled “Properties”ExtraneousQueryParametersException.EquivalentHttpStatusCode Property
Section titled “ExtraneousQueryParametersException.EquivalentHttpStatusCode Property”When unhandled within an HTTP request, this exception produces HTTP 400 (Bad Request).
protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }Property Value
Section titled “Property Value”Was this page helpful?Thanks for your feedback!