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. 49 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Method " " is invalid. All REST Methods must return either… | validation | error | return-type, async, interface-design, reflection-builder |
| Sequence contains more than one matching element | exception | critical | refit, httpclientfactory, versioning, reflection, configuration |
| This Refit client was created with the generated-only API… | exception | error | source-generator, aot, reflection, request-builder, generated-only |
| Unexpected parameter type in a Multipart request. Parameter | validation | error | refit, multipart, serialization, attributes, runtime |
| URL path must not contain CR or LF characters | validation | error | security, validation, url, crlf-injection, reflection-builder |
| 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 |
| The character set provided in ContentType is invalid. | exception | error | refit, newtonsoft-json, encoding, charset, http-response, runtime |
| The configured content serializer | exception | error | serialization, api-exception, sync-vs-async, content-serializer |
| Multiple complex types found. Specify one parameter as the… | validation | error | body, ambiguous-binding, reflection-builder |
| No suitable Method found... | exception | error | refit, generic, reflection, design-time |
| Sequence contains no matching element | exception | critical | refit, httpclientfactory, versioning, reflection, configuration |
| This interface needs the reflection request builder, which… | exception | error | configuration, reflection, source-generator, nuget, notsupported, aot, rf006 |
| Sequence contains no elements | exception | error | refit, attributes, http-method, reflection, design-time |
| Unsupported enum backing type for | exception | error | enum, json, system-text-json, enum-helpers, internal |
| BaseAddress must be set on the HttpClient instance | exception | error | configuration, http-client, url-resolution, base-address, invalidoperation |
| HeaderCollection parameter of type | validation | error | refit, headers, attributes, type-binding, design-time |
| The HttpResponseMessage has no associated RequestMessage… | exception | error | http, httpmessagehandler, api-exception, request-message, testing |
| Multipart requests may not contain a Body parameter | validation | error | multipart, body, attribute-conflict, reflection-builder |
| Parameter matches both a parameter and nested parameter on… | validation | error | refit, routing, parameter-binding, design-time |
| URL has parameter , but no method parameter matches | validation | error | refit, routing, url-template, attributes, design-time |
| Unable to convert ' ' to . | exception | error | json, enum, deserialization, system-text-json |
| The configured IHttpContentSerializer does not support… | exception | error | streaming, content-serializer, iasyncenumerable, notsupported, configuration |
| The response is unavailable for this API response. | exception | error | api-response, cancellation, transport-error, error-handling |
| URL has parameter }}, but no method parameter matches | validation | error | routing, template, url-parameter, argument, design-contract |
| `hostUrl` must not be null or whitespace. | validation | error | configuration, http-client, argument, base-address, argumentexception |
| The [Url] parameter value | validation | error | validation, url, argument, url-parameter, argumentexception |
| URL path must start with '/' and be of the form… | validation | error | routing, url-resolution, validation, argument, template |
| No stubbed route matched the request | exception | error | testing, stub, route-matching, stub-http |
| Unexpected token when parsing . | exception | error | json, enum, deserialization, system-text-json, token-type |
| Enum does not use a signed backing type. | exception | error | enum, json, enum-helpers, internal, signedness |
| Content must be an 'application/problem+json' compliant… | validation | error | validation, rfc7807, problem-details, argument, content |
| SystemTextJsonQueryConverter requires… | exception | error | serialization, query-converter, system-text-json, notsupported, configuration |
| The content serializer can't be null | validation | error | configuration, content-serializer, argument-null, constructor, argumentnullexception |
| Response must have an associated request message. | validation | error | api-response, http, request-message, validation |
| Problem details JSON must be an object. | exception | error | serialization, rfc7807, problem-details, json, jsonexception |
| expected request(s) were not made | exception | error | testing, stub, verification, stub-http |
| MethodName exists more than once, 'parameterTypes' mut be… | validation | error | refit, overloads, reflection, design-time |
| Argument list to method | validation | error | refit, cancellation, design-time |
| Response is successful, cannot create an ApiException. | validation | error | api-exception, validation, status-code |
| Only one parameter can be an Authorize parameter | validation | error | refit, auth, attributes, design-time |
| No request has been received yet. | exception | error | testing, stub, assertion, stub-http |
| Cannot convert an empty value to | exception | error | json, enum, deserialization, system-text-json |
| Enum does not use an unsigned backing type. | exception | error | enum, json, enum-helpers, internal, signedness |
| 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 Body parameter | validation | error | body, attribute-conflict, reflection-builder |
| Only one parameter can be a HeaderCollection parameter | validation | error | refit, headers, attributes, design-time |
| [Url] parameter " " must be of type string or System.Uri | validation | error | refit, url, type-binding, attributes, design-time |
| Only one parameter can be a [Url] parameter | validation | error | refit, url, attributes, design-time |