Re: API Validation Error:3001. Mandatory field 'DateAndTimeLocalTransaction' is missing/invalid cont

nikhilp
Helper

API Validation Error:3001. Mandatory field 'DateAndTimeLocalTransaction' is missing/invalid content

Hello,

 

Thanks in advance and waiting for your valuable reply.

And I' working on the Refund functionality. But could not be able to get response the.

For more details PFA of screenshot: 

 

Screenshot from 2020-02-27 17-25-14.png

 

REQUEST

{
"amount": "00",
"localTransactionDateTime": "2020-02-20T10:34:43",
"recipientPrimaryAccountNumber": "4761360055652118",
"cardAcceptor": {
"address": {
"country": "IND",
"zipCode": "94404",
"city": "Test",
"state": "KO"
},
"idCode": "VMT200911026070",
"name": "Mr. ABC",
"terminalId": "365529"
},
"transactionIdentifier": "381228649430011",
"acquirerCountryCode": "840",
"acquiringBin": "400171",
"retrievalReferenceNumber": "330000550000",
"systemsTraceAuditNumber": "451000",
"transactionFeeAmt": "1200",
"settlementServiceIndicator": "1",
"merchantCategoryCode": "6012",
"transactionCurrencyCode": "INR",
"merchantVerificationValue": {
"mvvAcquirerAssigned": "41394644363445313243",
"mvvVisaAssigned": "41394644363445313243"
},
"feeProgramIndicator": "123"
}

 

RESPONSE:

{"errorMessage": "API Validation Error: 3001. Mandatory field 'DateAndTimeLocalTransaction' is missing or has invalid content."}

 

 

RESPONSE HEADER:

Pragma : no-cache
Expires : -1
Content-Language : en-US
X-Cnection : close
X-Cnection : close
Date : Thu, 27 Feb 2020 11:55:08 GMT
Connection : close

9 REPLIES 9
API_Managers
Visa Developer Support Specialist

Re: API Validation Error:3001. Mandatory field 'DateAndTimeLocalTransaction' is missing/invalid cont

Hey @nikhilp,

 

I've created case INC9148446 for the engineering team to investigate. We're currently working to resolve your issue and someone will get back to you soon.

 

 

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Managers
Visa Developer Support Specialist

Re: API Validation Error:3001. Mandatory field 'DateAndTimeLocalTransaction' is missing/invalid cont

Hey @nikhilp,

 

Can you please confirm if the issue persists? Please let us know and someone will be happy to help.

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Managers
Visa Developer Support Specialist

Re: API Validation Error:3001. Mandatory field 'DateAndTimeLocalTransaction' is missing/invalid cont

Hey @nikhilp,

 

We haven't heard back from you. Are you still experiencing an issue? If so, please provide the x-correlation-id. We're happy to help.

 

To move forward with resolving the issue, please provide the following information:

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Managers
Visa Developer Support Specialist

Re: API Validation Error:3001. Mandatory field 'DateAndTimeLocalTransaction' is missing/invalid cont

Hey @nikhilp,

 

We haven't heard from you, so we'll close your incident as resolved. If you have further questions, let us know and someone will be happy to help.

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

amadhani2855
Dabbler

Re: API Validation Error:3001. Mandatory field 'DateAndTimeLocalTransaction' is missing/invalid cont

Hello, I am receiving the same error message executing this API 

https://sandbox.api.visa.com/visadirect/fundstransfer/v1/pushfundstransactions

{

  "errorMessage" : "API Validation Error: 3001. Mandatory field 'localTransactionDateTime' is missing or has invalid content."
}
 
This is the payload 
payload = json.loads('''
{
  "amount": "124.05",
  "senderAddress": "901 Metro Center Blvd",
  "localTransactionDateTime": "2011-12-30T21:32:52",
  "pointOfServiceData": {
    "panEntryMode": "90",
    "posConditionCode": "00",
    "motoECIIndicator": "0"
  },
  "recipientPrimaryAccountNumber": "4957030420210496",
  "colombiaNationalServiceData": {
    "addValueTaxReturn": "10.00",
    "taxAmountConsumption": "10.00",
    "nationalNetReimbursementFeeBaseAmount": "20.00",
    "addValueTaxAmount": "10.00",
    "nationalNetMiscAmount": "10.00",
    "countryCodeNationalService": "170",
    "nationalChargebackReason": "11",
    "emvTransactionIndicator": "1",
    "nationalNetMiscAmountType": "A",
    "costTransactionIndicator": "0",
    "nationalReimbursementFee": "20.00"
  },
  "cardAcceptor": {
    "address": {
      "country": "USA",
      "zipCode": "94404",
      "county": "San Mateo",
      "state": "CA"
    },
    "idCode": "CA-IDCode-77765",
    "name": "Visa Inc. USA-Foster City",
    "terminalId": "TID-9999"
  },
  "senderReference": "",
  "transactionIdentifier": "381228649430015",
  "acquirerCountryCode": "840",
  "acquiringBin": "408999",
  "retrievalReferenceNumber": "412770451018",
  "senderCity": "Foster City",
  "senderStateCode": "CA",
  "systemsTraceAuditNumber": "451018",
  "senderName": "Mohammed Qasim",
  "businessApplicationId": "AA",
  "settlementServiceIndicator": "9",
  "merchantCategoryCode": "6012",
  "transactionCurrencyCode": "USD",
  "recipientName": "rohan",
  "senderCountryCode": "124",
  "sourceOfFundsCode": "05",
  "senderAccountNumber": "4653459515756154"
}
''')


r = requests.post(url,
        cert = (cert,key),
        headers = headers,
        auth = (user_id, password),
        json = payload,
        timeout = timeout
        )

print (r.text)



 
 
 
 
jenn_kh
Community Moderator

Re: API Validation Error:3001. Mandatory field 'DateAndTimeLocalTransaction' is missing/invalid cont

Thank you for reaching out, @amadhani2855. An agent will get back to you as soon as possible. In the meantime, if any community member knows the solution, feel free to share it here! -Jenn

API_Managers
Visa Developer Support Specialist

Re: API Validation Error:3001. Mandatory field 'DateAndTimeLocalTransaction' is missing/invalid cont

Hi @amadhani2855,

 

For investigation, please provide the following information:

 

1. Endpoint
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Managers
Visa Developer Support Specialist

Re: API Validation Error:3001. Mandatory field 'DateAndTimeLocalTransaction' is missing/invalid cont

Hi @amadhani2855,

 

Please confirm if you're still experiencing an error. If so, please answer the questions I asked of you in my prior post sent to you. 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Managers
Visa Developer Support Specialist

Re: API Validation Error:3001. Mandatory field 'DateAndTimeLocalTransaction' is missing/invalid cont

Hi @amadhani2855,

 

I haven't received a reply from you, hence, I'll take you off my contact list. Please do not hesitate to reach out to the community if you require further assistance. Have a nice day! 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.