It looks like the error is not thrown by the API, ...
# macos
z
It looks like the error is not thrown by the API, but by the cpp-netlib code that is making the HTTPS request (https://github.com/facebook/osquery/blob/master/osquery/logger/plugins/aws_util.cpp#L160).