Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

PerformMailMerge

PoojaVG
Contributor II

Hi All,

I am trying to use webservices API to Perform Mail Merge. I am using the below code. But I am getting this error. Please let me know what I can do to fix it.

CODE:

$ps = New-WebServiceProxy -Uri $api_url1 -Class Record -Namespace webservice
[Byte[]] $mailmerge= $ps.PerformMailMerge($session_token, 256146 , 1);

 

ERROR:

Exception calling "PerformMailMerge" with "3" argument(s): "Server was unable to process request. ---> There was an error
performing the mail merge. ---> There was an error performing the Mail Merge but no failure was reported to Web Service.
Additional information can be found in the log file."
At line:37 char:1
+ Byte[] $mailmerge= $ps.PerformMailMerge($session_token, 256146 , 1);
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SoapException

 

 

 

Jeff LettermanDavid Petty

10 REPLIES 10

Noted.

I will do that.