- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Getting "E00040" for Transaction IDs beginning with 6 when using getTransactionDetailsRequest
Hi!
I have a database of transaction ids, and only some of them work when I query "getTransactionDetailsRequest" for details. I've noticed that the ones that begin with 6 nearly always fail, and the ones that begin with 4 nearly always work. When it fails, it fails with the error code E00040 and the message "The record cannot be found."
I know that some of the transaction ids beginning with 6 are legitimate; when I sign into Authorize.net and search for a transaction, it shows me the ID.
Is there a reason why some transaction ids begin with 4 and some with 6?
Thanks!
โ04-08-2019 02:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @dharmaturtle
Are these missing transaction in your sandbox or production account? Please note that our sandbox and production systems are completely separate and you could potentially get an E00040 if you search for a production transaction id in our sandbox.
Also, in production, we only store the last 2 years of data.
Richard
โ04-08-2019 02:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RichardH,
They are missing on production. Yes, I'm setting the environment properly.
ApiOperationBase<ANetApiRequest, ANetApiResponse>.RunEnvironment = AuthorizeNet.Environment.PRODUCTION;
The transaction occured last week.
I can give an example of a nonworking transaction id, what's a safe way to share it?
โ04-08-2019 02:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If this is for your production account, I would suggest contacting support by phone and opening a case with them. They have additional tools available to troubleshoot your issue.
Richard
โ04-08-2019 02:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@RichardH Thanks for the suggestion. I'll update this thread if/when I find out what the issue is.
โ04-08-2019 02:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It turns out my client has two Authorize.net accounts, and I was using only one of them. When I queried using the other API credentials, the transactions beginning with 6 work.
It's the darndest things.
โ04-16-2019 08:56 AM

