ErrLookup › reactiveui/refit
reactiveui/refit
The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface. · C# · 291 source files
Analyzed at b455f65ecc on 2026-08-13. 52 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Sequence contains more than one matching element | exception | critical | refit, httpclientfactory, versioning, reflection, configuration |
| Sequence contains no matching element | exception | critical | refit, httpclientfactory, versioning, reflection, configuration |
| The character set provided in ContentType is invalid. | exception | error | refit, newtonsoft-json, encoding, charset, http-response, runtime |
| Unexpected parameter type in a Multipart request. Parameter | validation | error | refit, multipart, serialization, attributes, runtime |
| targetInterface must be an Interface | validation | error | refit, interface, reflection, configuration, design-time |
| Method must be defined and have an HTTP Method attribute | validation | error | refit, attributes, http-method, reflection, design-time |
| MethodName exists more than once, 'parameterTypes' mut be de | validation | error | refit, overloads, reflection, design-time |
| No suitable Method found... | exception | error | refit, generic, reflection, design-time |
| HeaderCollection parameter of type {parameterArray[i].Parame | validation | error | refit, headers, attributes, type-binding, design-time |
| Only one parameter can be a HeaderCollection parameter | validation | error | refit, headers, attributes, design-time |
| Only one parameter can be an Authorize parameter | validation | error | refit, auth, attributes, design-time |
| URL {relativePath} has parameter {rawName}, but no method pa | validation | error | refit, routing, url-template, attributes, design-time |
| Parameter {owner.Name} matches both a parameter and nested p | validation | error | refit, routing, parameter-binding, design-time |
| Argument list to method "{methodInfo.Name}" can only contain | validation | error | refit, cancellation, design-time |
| A [Url] method must not also declare a path template; [Url] | validation | error | refit, url, routing, attributes, design-time |
| Only one parameter can be a [Url] parameter | validation | error | refit, url, attributes, design-time |
| [Url] parameter "{param.Name}" must be of type string or Sys | validation | error | refit, url, type-binding, attributes, design-time |
| Sequence contains no elements | exception | error | refit, attributes, http-method, reflection, design-time |
| URL path {relativePath} must start with '/' and be of the fo | validation | error | refit, url, routing, configuration, security |
| URL path {relativePath} must not contain CR or LF characters | validation | error | security, validation, url, crlf-injection, reflection-builder |
| Method "{methodInfo.Name}" is invalid. All REST Methods must | validation | error | return-type, async, interface-design, reflection-builder |
| Multipart requests may not contain a Body parameter | validation | error | multipart, body, attribute-conflict, reflection-builder |
| Only one parameter can be a Body parameter | validation | error | body, attribute-conflict, reflection-builder |
| Multiple complex types found. Specify one parameter as the b | validation | error | body, ambiguous-binding, reflection-builder |
| No request has been received yet. | exception | error | testing, stub, assertion, stub-http |
| No stubbed route matched the request: {request.Method} {requ | exception | error | testing, stub, route-matching, stub-http |
| {missing.Count} expected request(s) were not made:{Environme | exception | error | testing, stub, verification, stub-http |
| Response is successful, cannot create an ApiException. | validation | error | api-exception, validation, status-code |
| The configured content serializer '{RefitSettings.ContentSer | exception | error | serialization, api-exception, sync-vs-async, content-serializer |
| Response must have an associated request message. | validation | error | api-response, http, request-message, validation |
| The response is unavailable for this API response. | exception | error | api-response, cancellation, transport-error, error-handling |
| Cannot convert an empty value to {typeof(TEnum)}. | exception | error | json, enum, deserialization, system-text-json |
| Unable to convert '{value}' to {typeof(TEnum)}. | exception | error | json, enum, deserialization, system-text-json |
| Unexpected token {reader.TokenType} when parsing {typeof(TEn | exception | error | json, enum, deserialization, system-text-json, token-type |
| The HttpResponseMessage has no associated RequestMessage. Wh | exception | error | http, httpmessagehandler, api-exception, request-message, testing |
| Unsupported enum backing type for {typeof(TEnum)}. | exception | error | enum, json, system-text-json, enum-helpers, internal |
| Enum {typeof(TEnum)} does not use a signed backing type. | exception | error | enum, json, enum-helpers, internal, signedness |
| Enum {typeof(TEnum)} does not use an unsigned backing type. | exception | error | enum, json, enum-helpers, internal, signedness |
| This Refit client was created with the generated-only API, b | exception | error | source-generator, aot, reflection, request-builder, generated-only |
| BaseAddress must be set on the HttpClient instance | exception | error | configuration, http-client, url-resolution, base-address, invalidoperation |
| The [Url] parameter value "{value}" must be an absolute URI | validation | error | validation, url, argument, url-parameter, argumentexception |
| Unexpected parameter type in a Multipart request. Parameter | validation | error | serialization, multipart, content-serializer, argument, json |
| URL {relativePathTemplate} has parameter {{{key}}}, but no m | validation | error | routing, template, url-parameter, argument, design-contract |
| URL path {relativePath} must start with '/' and be of the fo | validation | error | routing, url-resolution, validation, argument, template |
| The content serializer can't be null | validation | error | configuration, content-serializer, argument-null, constructor, argumentnullexception |
| This interface needs the reflection request builder, which i | exception | error | configuration, reflection, source-generator, nuget, notsupported, aot, rf006 |
| BaseAddress must be set on the HttpClient instance | exception | error | configuration, http-client, base-address, invalidoperation |
| The configured IHttpContentSerializer does not support strea | exception | error | streaming, content-serializer, iasyncenumerable, notsupported, configuration |
| `hostUrl` must not be null or whitespace. | validation | error | configuration, http-client, argument, base-address, argumentexception |
| SystemTextJsonQueryConverter requires RefitSettings.ContentS | exception | error | serialization, query-converter, system-text-json, notsupported, configuration |
| Content must be an 'application/problem+json' compliant json | validation | error | validation, rfc7807, problem-details, argument, content |
| Problem details JSON must be an object. | exception | error | serialization, rfc7807, problem-details, json, jsonexception |