[Amazon Fraud Detector] "Unable to complete your request due to an unexpected error. Please try again." while setting up variables in an event.

0

In Amazon Fraud Detector, I have created the following variables:

Variable nameData typeVariable typeSource
address_line_oneStringSHIPPING_ADDRESS_L1Event
address_line_twoStringSHIPPING_ADDRESS_L2Event
card_auth_codeStringAUTH_CODEEvent
card_brandStringCARD_BRANDEvent
card_cvv_resultStringCVV_RESULTEvent
card_expiry_monthStringCARD_EXPIRY_MONTHEvent
card_expiry_yearStringCARD_EXPIRY_YEAREvent
card_last_fourStringCARD_LAST4Event
channelStringCHANNELEvent
cityStringSHIPPING_CITYEvent
countryStringSHIPPING_COUNTRYEvent
currencyStringCURRENCY_CODEEvent
email_addressStringEMAIL_ADDRESSEvent
ip_addressStringIP_ADDRESSEvent
nameStringSHIPPING_NAMEEvent
order_idStringORDER_IDEvent
payment_typeStringPAYMENT_TYPEEvent
phone_numberStringSHIPPING_PHONEEvent
stateStringSHIPPING_STATEEvent
total_amountFloatPRICEEvent
transaction_statusStringTRANSACTION_STATUSEvent
user_agentStringUSERAGENTEvent
zipStringSHIPPING_ZIPEvent

I then try to create an Event that uses those variables. It doesn't matter if I import from a CSV file on an S3 bucket, or if I select them manually, I get the following error every time: "Unable to complete your request due to an unexpected error. Please try again."

Inspecting the request, I see:

POST https://frauddetector.us-east-1.amazonaws.com/ 500
	message: "Unable to complete your request due to an unexpected error. Please try again."
	retryAfterSeconds: 0
	__type: "InternalServerException"

I have narrowed it down to the following variables. When they are removed, the Event is successfully created:

Variable nameData typeVariable typeSource
channelStringCHANNELEvent
transaction_statusStringTRANSACTION_STATUSEvent
card_brandStringCARD_BRANDEvent
card_cvv_resultStringCVV_RESULTEvent
card_expiry_monthStringCARD_EXPIRY_MONTHEvent
card_expiry_yearStringCARD_EXPIRY_YEAREvent
card_last_fourStringCARD_LAST4Event

Even though I can proceed with my model and detector without these variables, I would like them for better fraud detection.

To be clear, I have tried:

  • creating the variables manually, and via importing a CSV file through "Events".
  • multiple regions and S3 buckets
  • multiple browsers
  • multiple devices (in different countries!)

This certainly seems like an AWS issue rather than an issue with my home setup.

Has anyone encountered this before or would have any clue why this might be happening?

asked 10 months ago125 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions