Struct plaid::model::AssetsErrorWebhook
source · pub struct AssetsErrorWebhook {
pub asset_report_id: String,
pub environment: String,
pub error: Option<PlaidError>,
pub user_id: Option<String>,
pub webhook_code: String,
pub webhook_type: String,
}
Expand description
Fired when Asset Report generation has failed. The resulting error
will have an error_type
of ASSET_REPORT_ERROR
.
Fields§
§asset_report_id: String
The ID associated with the Asset Report.
environment: String
The Plaid environment the webhook was sent from
error: Option<PlaidError>
We use standard HTTP response codes for success and failure notifications, and our errors are further classified by error_type
. In general, 200 HTTP codes correspond to success, 40X codes are for developer- or user-related failures, and 50X codes are for Plaid-related issues. An Item with a non-null
error object will only be part of an API response when calling /item/get
to view Item status. Otherwise, error fields will be null
if no error has occurred; if an error has occurred, an error code will be returned instead.
user_id: Option<String>
The user_id
corresponding to the User ID the webhook has fired for.
webhook_code: String
ERROR
webhook_type: String
ASSETS
Trait Implementations§
source§impl Clone for AssetsErrorWebhook
impl Clone for AssetsErrorWebhook
source§fn clone(&self) -> AssetsErrorWebhook
fn clone(&self) -> AssetsErrorWebhook
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more