Update: MasterCard has successfully resolved the issue with their commercial card systems. We're awaiting file deliveries now. For more information, please visit our status page.

Going to SuiteWorld in Las Vegas April 1-4? So are we! While you're there, you can stop by the Expensify booth in the Expo hall to chat about how the current features work, any questions you may have, or discuss what's next for this integration. We look forward to seeing you there!

Cannot create transaction list - response 410

tfrugiatfrugia Posts: 1
edited November 2018 in Integrations and API

We have successfully created expensify reports using the API for some time (over a year), but recently started receiving random errors with status code 410. The payload looks correct to me (see below for a live example that generates 410, with credentials removed):

requestJobDescription={
"type": "create",
"credentials": {
"partnerUserID": "---------",
"partnerUserSecret": "---------"
},
"inputSettings": {
"type": "report",
"policyID": "---------",
"employeeEmail": "---------",
"report": {
"title": "Auto Report"
},
"expenses": [{
"date": "2018-10-26",
"merchant": "OMNI+HOTELS",
"currency": "USD",
"amount": 28625,
"reimbursable": false,
"transactionID": "---------",
"comment": "10%2F24%2F2018"
}, {
"date": "2018-10-26",
"merchant": "BOS+TAXI",
"currency": "USD",
"amount": 2385,
"reimbursable": false,
"transactionID": "---------",
"comment": ""
}, {
"date": "2018-10-29",
"merchant": "PPA+PHL+AIRPORT",
"currency": "USD",
"amount": 4800,
"reimbursable": false,
"transactionID": "---------",
"comment": ""
}, {
"date": "2018-10-29",
"merchant": "BOS+TAXI+0790+BOSTON+MA",
"currency": "USD",
"amount": 2505,
"reimbursable": false,
"transactionID": "---------",
"comment": ""
}]
}
}

The response is: {"responseMessage":"Could not create transaction list","responseCode":410}

Any ideas?

Answers

  • Sheena TrepanierSheena Trepanier Posts: 1,655 Expensify Success Coach

    Hi @tfrugia, thanks so much for posting and for bearing with us. I know you've already spoken with a team member of mine via email. She has escalated this and our engineers are having a look to help us figure this out.

    We'll be back with you in the email as soon as possible and I'll post an update here once we have unraveled this mystery.

    Thanks again!

  • Sheena TrepanierSheena Trepanier Posts: 1,655 Expensify Success Coach

    Hi @tfrugia, I know you were working with my team member Brigid on this and reported the issue is resolved. I just wanted to share some context here with you and future customers who find this thread.

    Our engineers let me know that this should be working now. The issue was that we changed something in our internal PHP API that caused the error for a small subset of customers. Since we've released the fix for this we've followed the logs closely and have not seen any additional failures related to this.

    Have a great weekend!

Sign In or Register to comment.