Troubleshoot enrollment issues

This page shows how administrators can resolve the issues related to enrolling projects or folders for auditing.

The following table lists error messages that you might encounter when enrolling projects or folders for auditing using the REST API and provides suggestions for how to fix each of them.

Error code Error message Description
401 You don't have the necessary permissions to enroll this resource for audits. Ensure that you have been granted an owner role for the project or folder, or ask the owner to run this operation on your behalf.
401 You don't have write permission to Cloud Storage buckets. For all specified buckets, ensure that the caller has write permissions.
400 No storage bucket provided to store audit evidence. Provide at least one storage bucket to store audit data where the caller has write permissions.
400 Scope provided is invalid. Unable to locate the folder or the project to be audited. Provide scope for resource in the appropriate format.
403 Audit Manager API is not being used in project PROJECT_ID or is disabled. Enable the Audit Manager API by clicking the link provided in the message.