Unexplained HTTP GET error -412

I’m trying to set up a chart in PAC Control to query another manufacturer’s PLC on the network via HTTP PUT / GET, using the HttpGet command.

On executing the command, the value of the returned “status” value is -412. This error message isn’t listed in the documentation, so I don’t know how to interpret it. The HTTP status returned is 500, which is also unhelpful.

If I simply unplug the other device, I get a status of -443, which is “unable to connect.”

What does -412 indicate?

The -412 error code is:
Ethernet: Cannot connect error. Check IP address and subnet mask.

You may have a networking issue with the device you are trying to communicate with.

Also, for your reference, you can look up error codes directly in PAC Control.


Hey thanks for that information about the error lookup.

The issue is definitely a failure to connect to the device and not a networking issue, since the error is different depending on whether the device is plugged in or not.

I CAN successfully access the device using the HTTP API from a standalone C# app I’ve written, so clearly the issue is my implementation within PAC Control. Unfortunately, I haven’t been able to excavate the exact parameters I need from within the C# library I’m using for communication.

Thanks!