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:
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?