cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Deleting User Profile via Java API returns a "reccord cannot be found error" but deletion successful

I am trying to delete user profiles in java via the code below.

 

net.authorize.cim.Transaction transaction=merchant.createCIMTransaction(TransactionType.DELETE_CUSTOMER_PROFILE);


transaction.setRefId(generateRefId());


transaction.setCustomerProfileId(profileId);


Result<Transaction> result = (Result<Transaction>) merchant.postTransaction(transaction);

 

Every response I get it the following

 

deleting user with profileId =32441194
Result Code: Error<br>
E00040 - The record cannot be found.<br>

 

The weird thing is the user profile Id is in fact active/correct and the deletion of the account completes successfully in the sandbox, even though the response claims there is an error.

 

Any ideas?

micromarty
Member
6 REPLIES 6

Hello @micromarty

I would recommend subscribing to this topic so that you'll be alerted via email if anyone from the community is able to respond with any comments. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies.

Thanks,

Richard

RichardH
Administrator Administrator
Administrator

Has anyone else been experiencing this? The behavior still seems to occur.

Are you calling the API or using the Java SDK?

 

Richard

I am using the java sdk.

In that case, I would encourage you to submit an issue on Github if you have not already done so.  This will directly notify the developer responsible for the SDK.

Richard

Sounds good, thank you!