Order IDs automatically replaced with "[CREDIT_DEBIT_CARD_NUMBER]" when generating CSV/Excel files

I’m experiencing an issue where order IDs are being automatically redacted to “[CREDIT_DEBIT_CARD_NUMBER]” when:

  • Creating CSV or Excel files through chat AI agents

  • Generating SPLAT CSV files for reimbursement processing

  • Viewing generated content in the chat interface

The order IDs appear correctly initially but then get replaced with this placeholder text, making the files unusable.

Example:

  • Expected: 402-2542063-6037939

  • What I see: [CREDIT_DEBIT_CARD_NUMBER]

Question: How can I generate files with actual order IDs visible instead of this redacted placeholder text? Is this a security setting that can be adjusted, or is there a workaround?

Hi @poornacp - Did you provide the prompt correctly to AI and mention the exact problem for providing the solution.

Regards - San

1 Like

Hi! Yes, I provided the complete prompt with all the details. Here’s what I’m experiencing:

My prompt to the AI: I’m asking the AI to generate SPLAT CSV files for seller reimbursement processing. I provide:

  • Seller ID: 8644083635

  • Ticket ID: D364607720

  • Order IDs with amounts (e.g., 404-3309882-0285116 - 51.7, 402-2923218-0066714 - 45.7)

  • Request: “create csv”

What the AI generates: The AI correctly creates the CSV structure with all the right columns (OrderId, Amount, Credit/Debit, AccountType, ReferenceId) and initially displays the actual order IDs.

The problem: Within seconds of generation, all order IDs in the output automatically change from the actual IDs (like [CREDIT_DEBIT_CARD_NUMBER]) to the placeholder text “[CREDIT_DEBIT_CARD_NUMBER]”. This happens in:

  • The main chat display window - where the AI response appears

  • The artifact/side panel - where the CSV content is shown for copying

  • Any generated CSV content - both in the preview and when attempting to copy

The order IDs appear correctly for a brief moment, then get automatically redacted/replaced with “[CREDIT_DEBIT_CARD_NUMBER]” across all display areas.

This makes the files completely unusable for SPLAT submissions since the order IDs are essential data fields that need to remain visible.

What I need: A way to generate or download CSV files where the actual order IDs remain visible and are not automatically redacted to “[CREDIT_DEBIT_CARD_NUMBER]”.

Is this a security policy that can be adjusted for my account, or is there a different method I should use to generate these files?

In the prompt, please mention explicitly what you need and what you do not need.

1 Like

Hi!

I have mentioned explicitly in my prompt what I need - the seller ID, ticket ID, order IDs with amounts, and requested “create csv”.

The AI generated exactly what I needed - the SPLAT CSV file with all correct columns and data. Everything is correct.

The only issue: The order IDs appear correctly initially (like 171-7959696-3106754), but within seconds they automatically change to this text “[CREDIT_DEBIT_CARD_NUMBER]” in the chat display, artifact panel, and CSV content.

This automatic redaction makes the files unusable for SPLAT submissions since I need the actual order IDs visible.

Is there a way to prevent this automatic redaction, or do I need a different permission/setting adjusted?

Thanks!

Hi @poornacp ,

This is a very interesting topic that you are experiencing. I tried to think of potential workarounds but honestly this may be a case where you submit a support ticket. To submit a support ticket, please refer to this resource (Case management - AWS Support). One of my guesses to what might be causing your problem is that you may be experiencing a bug in your PII detection system. Nevertheless, submitting a support ticket allows the support team to properly investigate your case.

Please help out the community and let us know of any findings that are uncovered!