Documentation is incorrect for the example We state in the example that we can use NewClient() , but this is incorrect it is missing a config parameter https://github.com/harness/harness-go-sdk/blob/dd21cbe02341ed5f79ba42c91f14b2affed4c399/harness/cd/client.go#L71