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?

  url: 'http://localhost:8001/payment',
  form: {
    id: 'unique_payment_id',
    amount: '1',
    asset_code: 'USD',
    destination: 'amy*your_org.com',
    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) {

1 Answer 1


My mistake! db setting in compliance.cfg is wrong. It didn't connect to database. Correct setting. Everything is go through.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.