RE: INVALID_RECIPIENT on posting a Journal Entry

Hello people! I’m quite new to Netsuite and I’ve been struggling with an error for sometime right now:

I’m trying to post a Journal Entry but I’m getting a INVALID_RECIPIENT error:

INVALID_RECIPIENT, message: An error occured in a upsert request: That recipient is invalid, disabled, or does not have an email address.


What is the best way to debug this error and find out what is causing this?

vmesel Rookie Asked on October 3, 2023 in SuiteScript.

Try to check first the recipient you’ve added. Try to remove them one by one and see which recipient produce the error

on October 10, 2023.
Add Comment
1 Answers
Best answer

It’s hard to say exactly what the issue is without taking a deeper look at your account. The INVALID_RECIPIENT error code description is “Recipient internal id does not match an existing entity.”, meaning that you’re trying to email someone and it’s not matching an existing employee/vendor/customer/contact record with an existing email.

Upon first glance I would think that this is an error from a custom script/workflow in your account.  My first step would be in sandbox where you can replicate the issue to go to Customization > Scripting > Scripted Records and view the “Journal Entry” record there.  Review this page (and all the tabs) for anything that looks like it might even remotely be related to this issue. Then one by one disable those scripts/workflows and attempt to enter the journal entry and see if you get the same error. Hopefully when you disable a specific one the error will resolve/disappear.  Then you’ll know what script/workflow is causing the issue and you can dig a little deeper into what is actually happening in it that is causing the error.

Best of luck! Hope that helps!

Intermediate Answered on October 10, 2023.

Thank you @James! It solved my problem, it was really a custom flow!

on October 23, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.