When using the gcloud command-line tool to create a custom role in a project by copying a predefined role, you encounter the error:
INVALID_ARGUMENT: Permission resourcemanager.projects.list is not valid
What steps should you take to resolve this issue?