Issue with GOlang SDK

Earlier this year, we started encountering an error when our internal client calls the SailPoint ISC API endpoint:

var aps []beta.RequestedItemStatus

aps, _, err = client.Beta.AccessRequestsAPI.ListAccessRequestStatus(ctx).Limit(limit).Offset(offset).Execute()

if err != nil
{
return nil, fmt.Errorf(“error in listAccessRequestStatus: %w”, err)
}

This now returns the following error:

error in listAccessRequestStatus: MODIFY_ACCESS is not a valid AccessRequestType

It appears that SailPoint updated the API to include a new MODIFY_ACCESS request type, but the corresponding value is missing from the Go SDK enum definition:

https://github.com/sailpoint-oss/golang-sdk/blob/27449ce8c09ea6a2f40cb7ccabe6234345c9b4e7/api_beta/model_access_request_type.go#L27

I’ve opened a case with SailPoint requesting an SDK update, but haven’t received much traction so far.

Is anyone else using Beta.AccessRequestsAPI.ListAccessRequestStatus and seeing the same issue?

I just got a response from SailPoint support that new version that fixes issue has been released: https://github.com/sailpoint-oss/golang-sdk/releases , v2.7.1