Error getting auth data by request ID: get failed: get failed: pq: relation \"auth_data\" does not exist
Error getting auth data by request ID: get failed: get failed: pq: relation \"auth_data\" does not exist
Loading saved threads...
Cheny Chen · External communityPost link
External question — Stellar Stack Exchange
Author: Cheny Chen
Original post: https://stellar.stackexchange.com/questions/2535
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
I follow the
api reference
.
The
extra_memo: 'Test transaction'
is in the form. Then, I got the error message
"Error getting auth data by request ID: get failed: get failed: pq: relation \"auth_data\" does not exist"
.
When I check compliance database, auth_data table is empty.
What should I do?
request.post({
url: 'http://localhost:8001/payment',
form: {
id: 'unique_payment_id',
amount: '1',
asset_code: 'USD',
asset_issuer: 'GAIUIQNMSXTTR4TGZETSQCGBTIF32G2L5P4AML4LFTMTHKM44UHIN6XQ',
destination: 'amy*your_org.com',
source: 'SAV75E2NK7Q5JZZLBBBNUPCIAKABN64HNHMDLD62SZWM6EBJ4R7CUNTZ',
sender: 'tunde_adebayo*your_org.com',
// `extra_memo` is required for compliance (use it instead of `memo`)
extra_memo: 'Test transaction',
}
}, function(error, response, body) {
......
});
Quote
Report
Cheny Chen · External communityPost link
External answer — Stellar Stack Exchange
Author: Cheny Chen
Original post: https://stellar.stackexchange.com/a/2540
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
My mistake! db setting in compliance.cfg is wrong. It didn't connect to database. Correct setting. Everything is go through.
Quote
Report
Post Reply
Quoted from Forex.com.bd-Editorial External answer — Stellar Stack Exchange Author: Cheny Chen Source score (net votes, not local likes): 0 Original post: https://stellar.stackexchange.com/a/2540 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. My mistake! db setting in compliance.cfg is wrong. It didn't connect to database. Correct setting. Everything is go through.
Checking account access…