# Temporal Custom Authz build error -

**URL:** https://community.temporal.io/t/temporal-custom-authz-build-error/12117
**Category:** Server Deployment
**Tags:** go-sdk
**Created:** [May 15, 2024, 11:48am UTC](https://community.temporal.io/t/temporal-custom-authz-build-error/12117 "2024-05-15T11:48:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Kishan\_Patel](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/kishan_patel/32/4407_2.png) [@Kishan\_Patel](https://community.temporal.io/u/Kishan_Patel)
#### Post date: [May 15, 2024, 11:48am UTC](https://community.temporal.io/t/temporal-custom-authz-build-error/12117/1 "2024-05-15T11:48:51Z")

</div>

Getting this below error while trying to build temporal custom authorizer , by following the steps mentioned here - [samples-server/extensibility/authorizer at main · temporalio/samples-server · GitHub](https://github.com/temporalio/samples-server/tree/main/extensibility/authorizer)

$ go build authorizer/server/main.go

```auto
/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/client.go:46:47: cannot use (*clientImpl)(nil) (value of type *clientImpl) as workflowservice.WorkflowServiceClient value in variable declaration: *clientImpl does not implement workflowservice.WorkflowServiceClient (missing method GetWorkerVersion
ingRules)
/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/client.go:60:9: cannot use &clientImpl{…} (value of type *clientImpl) as workflowservice.WorkflowServiceClient value in return statement: *clientImpl does not implement workflowservice.WorkflowServiceClient (missing method GetWorkerVersioningRules)
/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/metric_client.go:40:47: cannot use (*metricClient)(nil) (value of type *metricClient) as workflowservice.WorkflowServiceClient value in variable declaration: *metricClient does not implement workflowservice.WorkflowServiceClient (missing method Get
WorkerVersioningRules)
/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/metric_client.go:54:9: cannot use &metricClient{…} (value of type *metricClient) as workflowservice.WorkflowServiceClient value in return statement: *metricClient does not implement workflowservice.WorkflowServiceClient (missing method GetWorkerVer
sioningRules)
/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/retryable_client.go:33:47: cannot use (*retryableClient)(nil) (value of type *retryableClient) as workflowservice.WorkflowServiceClient value in variable declaration: *retryableClient does not implement workflowservice.WorkflowServiceClient (missin
g method GetWorkerVersioningRules)
/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/retryable_client.go:43:9: cannot use &retryableClient{…} (value of type *retryableClient) as workflowservice.WorkflowServiceClient value in return statement: *retryableClient does not implement workflowservice.WorkflowServiceClient (missing method 
GetWorkerVersioningRules)

```

I am using the below go version -  
$ go version  
go version go1.22.3 linux/amd64

Can someone please correct if I am missing something here / this is actual issue.

---

<div class="post-metadata">

### Author: ![kshitiz1007](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/kshitiz1007/32/5346_2.png) [@kshitiz1007](https://community.temporal.io/u/kshitiz1007)
#### Post date: [May 23, 2024, 8:46am UTC](https://community.temporal.io/t/temporal-custom-authz-build-error/12117/2 "2024-05-23T08:46:39Z")

</div>

@Kishan_Patel Is this error resolved? I am getting the same error.
