Error

struct

A single error or problem entry returned by the X API, either as a partial error in a 200 response or inside an error response.

Property Type Description
code Integer Numeric error code (legacy error format).
detail String Human-readable explanation specific to this occurrence.
message String Error message (legacy error format).
parameter String Name of the request parameter that caused the problem.
parameters
Map
ArrayString
Map of invalid parameter names to the offending values.
resource_id String ID of the resource the problem relates to.
resource_type String Type of the resource the problem relates to (e.g. `tweet`, `user`).
section String Section of the response the problem relates to (e.g. `data`, `includes`).
status Integer HTTP status code.
title String Short human-readable summary of the problem type.
type String URI identifying the problem type, e.g. `https://api.x.com/2/problems/resource-not-found`.
value String Value of the parameter that caused the problem.
part of the Apioo-Project