ErrLookup › restsharp/RestSharp

restsharp/RestSharp

Simple REST and HTTP API Client for .NET · C# · 130 source files

Analyzed at 6a50821692 on 2026-08-13. 36 documented errors.

Code / MessageTypeSeverityTags
Response content is null
exception error csv, deserialization, null-response, csvhelper
The type must contain a public, parameterless constructor.
exception error csv, deserialization, reflection, constructor, csvhelper
If the type implements IEnumerable<T>, then it must contain
exception error csv, deserialization, reflection, collection, csvhelper
Response content is null
exception error json, deserialization, null-response, newtonsoft
Class cannot have two properties marked with SerializeAs(Con
exception error xml, deserialization, attribute, content-mapping
Couldn't parse the value of '{value}' into the '{prop.Name}'
exception error xml, deserialization, type-conversion, primitive
Class cannot have two properties marked with SerializeAs(Con
exception error xml, serialization, attribute, content-mapping
Using query parameters in the base URL is not supported for
exception error oauth, oauth1, url, query-parameters, authentication
Only HMAC-SHA1, HMAC-SHA256, and RSA-SHA1 are currently supp
exception error oauth, oauth1, signature, cryptography, authentication
Token request failed with status {response.StatusCode}: {bod
exception error oauth, oauth2, authentication, network, token
Token endpoint returned an invalid response: {body}
exception error oauth, oauth2, authentication, json, token
Request resource doesn't contain a valid scheme for an empty
exception error url, configuration, base-url, request
Invalid content type string
exception error content-type, validation, mime
Parameter cannot be an empty string
exception error validation, argument, guard
Binary data format needs a byte array as value
exception error body, binary, request, parameter
Cannot set request body using default parameters. Use Reques
exception error parameters, default-parameters, body, request
A default parameters with the same name has already been add
exception error parameters, default-parameters, duplicate, configuration
File not found
exception error file, upload, filesystem, request
Invalid character found in header {type}: {value}
exception error header, security, header-injection, request
The specified value is not a valid Host header string.
exception error header, host, security, request
value must be non-negative
exception error argument, polyfill, index, netstandard, validation
Request body serialized to null
exception error serialization, request-body, null, argument
AdvancedResponseWriter is not null. Only one response writer
exception error request, response-writer, configuration, argument, mutual-exclusion
ResponseWriter is not null. Only one response writer can be
exception error request, response-writer, configuration, argument, mutual-exclusion
Non-string body found with unsupported content type
exception error request-body, content-type, serialization, argument
Failed to put file as content because flag AlwaysMultipartFo
exception error file-upload, request, configuration, multipart, mutual-exclusion, argument
Failed to put file as content because POST parameters were a
exception error file-upload, request, parameters, configuration, argument
Failed to put file as content because body parameters were a
exception error file-upload, request-body, request, configuration, mutual-exclusion, argument
Duplicate header names exist: {duplicateKeys}
exception error headers, request, validation, duplicate, argument
Both BaseUrl and Resource are empty
exception error uri, base-url, request, configuration, argument
Cannot access a disposed object.
exception critical dispose, lifecycle, httpclient, object-disposed
BaseUrl must be set when using a client factory
exception error configuration, base-url, httpclient, client-factory, argument
Unable to find a serializer for {dataFormat}
exception error serialization, configuration, dataformat, invalid-operation
Error occured while deserializing the response
exception error deserialization, response, serialization, exception, configuration
Supplied parameter is not an XML parameter
exception error xml, serialization, parameters, type-guard, argument
Parameter value is null
exception error xml, serialization, null, argument, request-body