Transaction api generate an error with right clientId, SecretKey and accessToken
gigalabs18 opened this issue · 1 comments
gigalabs18 commented
public function getTransactionList (Request $request) {
$start_date = Carbon::now();
$end_date = Carbon::now()->subWeek();
$accessToken = $request->get('accessToken');
try {
$transaction = $this->plaid->transactions->list($accessToken, $start_date, $end_date, []);
}
catch ( PlaidRequestException $exception) {
dd($exception->getResponse());
}
return $this->sendSuccessResponse('balance', $transaction, 'balance get successfully!');
}
{
"display_message": null,
"documentation_url": "https://plaid.com/docs/?ref=error#item-errors",
"error_code": "PRODUCT_NOT_READY",
"error_message": "the requested product is not yet ready. please provide a webhook or try the request again later",
"error_type": "ITEM_ERROR",
"request_id": "a2t7ZTlOjB3HxOL",
"suggested_action": null
}
Package version is 1.0 and php version is 7.3
brentscheffler commented
Please read Plaid API docs: