WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: Mogens Christensen on May 05, 2021, 12:30:28 AM

Title: Error in rest Call
Post by: Mogens Christensen on May 05, 2021, 12:30:28 AM
 
In a Winbatch program i use this object WinHttp.WinHttpRequest.5.1,  sending changes to a ServiceNow REST service


The provider has changed TLS to mTLS, after that then program ends with this error message

http.send(request)
(281) GOSUB Error handler

WIL ERROR SUPPRESSED =>1261 (COM/CLR: Exception)

rc = IntControl(1000,8,0,0,0)
(281) VALUE INT => 0

status_txt = http.statusText
(281) VALUE INT => 0

TERMINAL WIL ERROR=>1261 (COM/CLR: Exception)

;;;END OF JOB;;;

---------- Begin structure stack dump ----------
  1 for                33 FOR a = 1 TO antal BY 1          ServNowDB2upd.wbt
  2 gosub              63 http.send(request)               ServNowDB2upd.wbt
-------- End structure stack dump --------

---------- Begin WWWBATCH
[COM & CLR Sub-system]
Function=InvokeMember
ErrorCode=9 (0x80020009)
ErrorDesc=Exception occurred.

Are ther other HTTP objects thats supports mTLS

Any help is appreciated
THANKS
Title: Re: Error in rest Call
Post by: td on May 05, 2021, 06:54:03 AM
This post is a duplicate of another post on this subject. See above.