New Member
Posts: 1
Registered: ‎06-11-2021

"E00040 - The record cannot be found" when creating recurring subscription from Customer Profile

I am using NodeJs API to create a recurring subscription. To create that I am following this



I am able to do



But after that I always get


Error Code: E00040
Error message: The record cannot be found.


Going through the community posts I do understand that we need to add some delay in the sandbox environment. So I tried up to 30 seconds of delay. Still, I got the same error code.


I can see that customer profile and payment profile in the sandbox account.


Also, the thing is this is the first time we are integrating this gateway. So we need the code to work. We are fine with the delay in sandbox environment.