Reply
Member
Posts: 4
Registered: ‎04-08-2019

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!

Posts: 2,765
Topics: 57
Kudos: 254
Blog Posts: 67
Registered: ‎12-05-2011

Re: Getting "E00040" for Transaction IDs beginning with 6 when using getTransactionDetails

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

Member
Posts: 4
Registered: ‎04-08-2019

Re: Getting "E00040" for Transaction IDs beginning with 6 when using getTransactionDetails

Hi @RichardH,

 

They are missing on production. Yes, I'm setting the environment properly.

   

ApiOperationBase<ANetApiRequestANetApiResponse>.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?

Posts: 2,765
Topics: 57
Kudos: 254
Blog Posts: 67
Registered: ‎12-05-2011

Re: Getting "E00040" for Transaction IDs beginning with 6 when using getTransactionDetails

@dharmaturtle 

 

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

Member
Posts: 4
Registered: ‎04-08-2019

Re: Getting "E00040" for Transaction IDs beginning with 6 when using getTransactionDetails

@RichardH  Thanks for the suggestion. I'll update this thread if/when I find out what the issue is.

Member
Posts: 4
Registered: ‎04-08-2019

Re: Getting "E00040" for Transaction IDs beginning with 6 when using getTransactionDetails

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.