ErrorResponse

May 20, 2026 ยท View on GitHub

Properties

NameTypeDescriptionNotes
codeint
extensionsErrorExtensions
kindstr
locationsList[Location]
messagestr
namestr
pathList[ErrorResponsePathInner]
retry_afterint[optional]
sourcestr
tracingTracing

Example

from twitter_openapi_python_generated.models.error_response import ErrorResponse

# TODO update the JSON string below
json = "{}"
# create an instance of ErrorResponse from a JSON string
error_response_instance = ErrorResponse.from_json(json)
# print the JSON string representation of the object
print(ErrorResponse.to_json())

# convert the object into a dict
error_response_dict = error_response_instance.to_dict()
# create an instance of ErrorResponse from a dict
error_response_from_dict = ErrorResponse.from_dict(error_response_dict)

[Back to Model list] [Back to API list] [Back to README]