bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
This page shows how administrators can resolve the issues related to
enrolling resources for auditing.
The following table lists error messages that you might encounter when enrolling
resources 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This page details how administrators can fix issues when enrolling resources for auditing."],["The document lists common error messages encountered when using the REST API to enroll resources."],["Error code 401 indicates a permissions issue, either for resource enrollment or Cloud Storage bucket access."],["Error code 400 suggests a missing storage bucket or an invalid scope for resource auditing."],["Error code 403 means that the Audit Manager API is either disabled or not in use within the project."]]],[]]