Comments (1)
INFO[1331] starting job jobId=4a929dc2dc0170166a1aae05 name=PullLatestTransactions
INFO[1331] pulling account balances accountId=1 id=4a929dc2dc0170166a1aae05 job=PullLatestTransactions
TRAC[1331] BEGIN
TRAC[1331] SELECT "link"."link_id", "link"."account_id", "link"."link_type", "link"."plaid_link_id", "link"."institution_name", "link"."custom_institution_name", "link"."created_at", "link"."created_by_user_id", "link"."updated_at", "link"."updated_by_user_id", "plaid_link"."plaid_link_id" AS "plaid_link__plaid_link_id", "plaid_link"."item_id" AS "plaid_link__item_id", "plaid_link"."access_token" AS "plaid_link__access_token", "plaid_link"."products" AS "plaid_link__products", "plaid_link"."webhook_url" AS "plaid_link__webhook_url", "plaid_link"."institution_id" AS "plaid_link__institution_id", "plaid_link"."institution_name" AS "plaid_link__institution_name" FROM "links" AS "link" LEFT JOIN "plaid_links" AS "plaid_link" ON "plaid_link"."plaid_link_id" = "link"."plaid_link_id" WHERE ("link"."link_id" = 1 AND "link"."account_id" = 1) LIMIT 1
TRAC[1331] SELECT "bank_account"."bank_account_id", "bank_account"."account_id", "bank_account"."link_id", "bank_account"."plaid_account_id", "bank_account"."available_balance", "bank_account"."current_balance", "bank_account"."mask", "bank_account"."name", "bank_account"."plaid_name", "bank_account"."plaid_official_name", "bank_account"."account_type", "bank_account"."account_sub_type" FROM "bank_accounts" AS "bank_account" WHERE (("bank_account"."link_id", "bank_account"."account_id") IN ((1, 1)))
TRAC[1331] SELECT "bank_account"."bank_account_id", "bank_account"."account_id", "bank_account"."link_id", "bank_account"."plaid_account_id", "bank_account"."available_balance", "bank_account"."current_balance", "bank_account"."mask", "bank_account"."name", "bank_account"."plaid_name", "bank_account"."plaid_official_name", "bank_account"."account_type", "bank_account"."account_sub_type" FROM "bank_accounts" AS "bank_account" WHERE ("bank_account"."account_id" = 1) AND ("bank_account"."link_id" = 1 )
TRAC[1331] retrieving transactions for 2 bank account(s) accountId=1 id=4a929dc2dc0170166a1aae05 job=PullLatestTransactions
TRAC[1331] SELECT "transaction"."transaction_id", "transaction"."bank_account_id", "transaction"."amount" FROM "transactions" AS "transaction" INNER JOIN "bank_accounts" AS "bank_account" ON ("bank_account"."bank_account_id" = "transaction"."bank_account_id" AND "bank_account"."account_id" = "transaction"."account_id") WHERE ("transaction"."account_id" = 1) AND ("bank_account"."link_id" = 1) AND ("transaction"."plaid_transaction_id" IN ('WnkN3XqzdDtJZoplAZwzCKJpj8xDg6UWPg7Nz'))
TRAC[1331] INSERT INTO "transactions" ("transaction_id", "account_id", "bank_account_id", "plaid_transaction_id", "amount", "expense_id", "categories", "original_categories", "date", "authorized_date", "name", "original_name", "merchant_name", "original_merchant_name", "is_pending", "created_at") VALUES (DEFAULT, 1, 1, 'WnkN3XqzdDtJZoplAZwzCKJpj8xDg6UWPg7Nz', 633, DEFAULT, '{"Travel","Taxi"}', '{"Travel","Taxi"}', '2021-02-22 00:00:00+00:00:00', DEFAULT, 'Uber 072515 SF**POOL**', 'Uber 072515 SF**POOL**', 'Uber', 'Uber', FALSE, '2021-02-26 04:32:32.793462+00:00:00') RETURNING "transaction_id", "expense_id", "authorized_date"
ERRO[1331] failed to insert new transactions accountId=1 error="failed to insert transactions: ERROR #23505 duplicate key value violates unique constraint \"transactions_bank_account_id_plaid_transaction_id_key\"" id=4a929dc2dc0170166a1aae05 job=PullLatestTransactions
TRAC[1331] ROLLBACK
from rest-api.
Related Issues (20)
- Queue the link and its sub-objects for deletion.
- Errors from jobs are not reported to sentry properly. HOT 1
- jobs: failed to retrieve access token for plaid link: pg: no rows in result set HOT 1
- jobs: failed to retrieve bank accounts from plaid: failed to retrieve plaid accounts HOT 1
- stripe: Trial can be used again after it expires. HOT 1
- stripe: Handle a customer being deleted. HOT 4
- feature: Add better support for checks. HOT 1
- (elliotcourant) Use namespace from config.
- Dependency Dashboard
- stripe: Subscription race condition. HOT 2
- spending: Create a job that periodically checks for "behind" spending and updates them.
- send email here")
- ci: Push GitHub action is not triggered when push is performed by another GitHub action. HOT 1
- plaid: OAuth redirect URI is incorrect in the latest release. HOT 3
- transactions: Transactions are being pulled in from Plaid in the wrong timezone.
- [DepShield] (CVSS 7.5) Vulnerability due to usage of marked:0.7.0
- [DepShield] (CVSS 7.4) Vulnerability due to usage of lodash.isequal:4.5.0
- CVE-2021-3801 (High) detected in prismjs-1.24.1.tgz - autoclosed HOT 1
- jobs: Panics are not handled or well reported within jobs. HOT 1
- CVE-2021-3807 (Medium) detected in ansi-regex-5.0.0.tgz - autoclosed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rest-api.