We are implementing a deployment freeze on the following dates: Nov 20th - Dec 2nd and Dec 18th - Jan 4th

API error logs

Prev Next

Linda notices an error when the direct debit batch runs. She wants to find out what caused it, so she checks the API error log in Frisbii.


View the API error log

After the direct debit batch has run, an invoice was not debited for some reason.

You can open API Error Logs from the Salesforce App Launcher.
This log creates an error record for every failed API call from Salesforce to Stripe.

You can open each error to see its details, the date, the record associated with the error, and more.

Click the associated record to open the payment in error.
From this payment, you can navigate to the related invoice or go back to the API error log record:

With the information in the API error log, you can analyze the type of error or open a support ticket with the error details.
A payment with the payment status Error is not included in the next direct debit batch.

When the payment succeeds (the payment is no longer pending), its API error record is deleted automatically.

Note

The number of API error log records is limited to 500,000. Above this limit, the system automatically deletes the oldest records to limit storage usage.


Frisbii dashboard

The Frisbii dashboard: PSP Transactions lets you track the following:

  • Failed transactions: the dashboard shows the number and amount of failed transactions over the last 7 days, as well as the list of Salesforce-to-Stripe API error log records for the current and the previous month. After reviewing the error, you can take the necessary technical action, or act on the payments or invoices, before running the direct debit batch again. If the problem persists or is unclear, open a support ticket with the error details.

  • Credit cards expiring in the next 45 days: once a card has expired, payments with this card fail and you will find the record in the API error log. To avoid this error, you can send your customer the direct debit authorization link again from the account so that they can enter their new bank details. See Change a subscription with active direct debit.

  • Successful transactions: the dashboard shows the number and amount of successful transactions over the last 7 days.

  • Payments linked to an API error log: the Payments and API Logs report, which is not part of the Frisbii dashboard: PSP Transactions, shows all payments with the status Error, without a date filter. Remember: a payment with the status Error that is linked to an API error log is not included in the next direct debit batch.