Software Development · Finance & Banking

Debug an error message for Finance & Banking

Use this when you are stuck on an error and want a structured way to find the cause. Written for a bank offering retail and business accounts.

Not professional advice. This prompt helps you draft finance & banking work faster. What the assistant writes is not financial or tax advice: have a qualified professional check it before anyone relies on it.

Your prompt is ready 3 brackets to fill
You are an expert in this kind of work, and you know the Finance & Banking sector from the inside.

## Your task
Help me debug this error in a system at a bank offering retail and business accounts. Explain what the error means, list the most likely causes in order of probability, give a step to confirm each one, and the fix for each.

## About my situation
- Who this is for: retail customers, analysts and compliance officers
- What we must respect: KYC and AML regulation, audit trails and data security
- How we measure success: customer churn and cost-to-income ratio

## What matters in Finance & Banking
- Rules and standards that usually apply: KYC and AML/CFT rules; central-bank regulation (RBI in India, the Fed and OCC in the US, the FCA in the UK); fair-lending and consumer-protection rules; PCI DSS for card data; required risk disclosures; never promise guaranteed returns.
- Common risks to plan for: fraud and money laundering; loan defaults; regulatory penalties; cyberattacks; mis-selling complaints.
- Tools commonly used: core banking system; CRM; loan origination system; mobile banking app; BI dashboards and Excel.
- Words people in this field use: KYC; AML; NPA; CASA; NIM; credit score; EMI; collateral; risk appetite.
- Rules differ by country. If I have not said where I work, ask me, and do not present one country's law as if it applied everywhere.

## What I will give you
Error and stack trace:
[PASTE ERROR]
Relevant code:
[PASTE CODE]
What I already tried: [WHAT YOU TRIED]

## How to work through it
1. Explain the error message in plain words.
2. List possible causes from most to least likely, given the code and what I already tried.
3. For each cause, give one quick check to confirm or rule it out.
4. Give the fix for each cause.
5. Suggest how to stop this kind of error from coming back.

## What to deliver
- Error explanation
- Ranked causes with a check for each
- Fixes with code
- Prevention tips

## Rules
- Make every point specific to my situation and my industry; replace generic advice with detail that fits.
- Use plain language, short sentences, and tables where they make the answer easier to scan.
- Use only the facts I give you. Do not invent figures, laws, sources or quotes. Mark anything you had to assume with "Assumption:".
- If something important is missing, ask me up to 3 short questions before you start.

## Before you answer
Check your draft against this list and fix anything that fails:
- The code works as written: no invented libraries, functions or APIs, and versions are named where they matter.
- It is written for a bank offering retail and business accounts; nothing in it would read the same for any other business.
- Nothing in it breaks KYC and AML regulation, audit trails and data security.
- Every item under "What to deliver" is included.
Open in ChatGPT Claude Perplexity

How to use this prompt

  1. Copy the prompt. Press Copy prompt and the full text goes to your clipboard.
  2. Fill the brackets. Use the form above, or replace [PASTE ERROR], [PASTE CODE], [WHAT YOU TRIED] with your own details.
  3. Paste and send. Paste it into ChatGPT, Claude, Microsoft Copilot and DeepSeek and send. Ask follow-up questions to refine the answer.

Why this prompt works

The “Debug an error message” prompt tells the assistant exactly what to hand back: error explanation; ranked causes with a check for each; fixes with code; and prevention tips. It makes the assistant work through 5 steps in order, starting with "explain the error message in plain words", instead of jumping straight to an answer. Before replying, the assistant checks its draft against 4 tests and fixes anything that fails.

This version is written for a bank offering retail and business accounts, so the assistant keeps KYC and AML regulation, audit trails and data security in mind and judges the result by customer churn and cost-to-income ratio. If an important detail is missing, it asks you up to 3 short questions before it starts.

How to get the best answer

  1. Fill every bracket with real detail: [PASTE ERROR], [PASTE CODE], [WHAT YOU TRIED] should hold real names, numbers and dates, not placeholders.
  2. Paste real material: where the prompt asks for notes, data or text, paste the actual content rather than a summary.
  3. Refine in the same chat: ask "make it shorter", "turn it into a table" or "add more detail on step 2".
  4. Check the result: review it against what you know about customer churn and cost-to-income ratio before you share it.

Other industries

Same prompt for other industries

The same debug an error message prompt, rewritten for each industry.

FAQ

Frequently asked questions

Which AI assistant works best with the “Debug an error message” prompt?

The “Debug an error message” prompt works in any chat assistant and suits ChatGPT, Claude, Microsoft Copilot and DeepSeek best. Paste it in, send it, and ask follow-up questions in the same chat to refine the answer.

What do I fill in before sending the “Debug an error message” prompt?

Replace the 3 highlighted brackets – [PASTE ERROR], [PASTE CODE], [WHAT YOU TRIED] – with your own details. The more specific you are, the better the answer.

Is the “Debug an error message” prompt only for Finance & Banking?

No. This version is written for a bank offering retail and business accounts, and the same prompt is also written for 15 other industries, listed on this page.

Is the “Debug an error message” prompt free to use?

Yes. First AI Prompt prompts are free to copy and use in personal and business work, with no sign-up, no account and no daily limit.

Can I trust the answer the “Debug an error message” prompt gives?

Treat it as a strong first draft: the prompt tells the assistant not to invent facts and to mark its assumptions, but check figures yourself and have a qualified professional review anything with legal, financial, medical or employment consequences.

Keep exploring

Browse more Finance & Banking prompts