GetHeader.vi Function Doesn't Return Headers and Gives Error 363528

Updated Dec 18, 2023

Reported In

Software

  • LabVIEW

Issue Details

I'm trying to get the headers of a Web page using the GetHeader.vi function, but the output is empty, and I receive this error: 
 

Error: 363528 - LabVIEWHTTPClient.lvlib:GetHeader.vi:4850001<APPEND>

<b>Complete call chain:</b>

     LabVIEWHTTPClient.lvlib:GetHeader.vi:4850001

     MyVI.vi


What I'm doing wrong? 

Solution

As the help file of GetHeader.vi says, this function will return the headers assigned to the client handle. The client handle is not the same as the Web page. It is a reference variable associated with a Web request. Unless you include it previously, it doesn't have the information on the Web page. 
 

Additional Information

If you want to recover the headers of a Web page, use the functions HEAD.vi or GET.vi .