We’re currently making some incredible improvements to SmartScan! During this time, you may experience delays of up to 24 hours for receipts completing SmartScan. This should be a short-term inconvenience that results in significant improvements to both SmartScan processing times and accuracy going forward. Thank you for your patience and please accept our apologies in advance! 

Cannot create transaction list - response 410

tfrugiatfrugia Posts: 1
edited November 5 in Expensify 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: 2,006 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: 2,006 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.