The following tables detail a myriad of issues and error status codes with potential reasons for the cause and actions that you can take to mitigate your deployment. If you would like to check out the full error specifications & mitigation for Aggregation Service, check out our current public guidance.
Guide topics:
Permissions & Authorization Errors
Issue | Permissions issues when you are either executing terraform plan or terraform apply to your public cloud project. |
---|---|
Example Error | Error: UnauthorizedOperation: You are not authorized to perform this operation. |
Resolution |
Check that you are properly authenticated into the cli (command-line interface) of the public cloud that you are leveraging. Amazon Web ServicesAWS requires user permissions to be able to create instances and other services required for Aggregation Service. Once you apply this, you should be able to perform terraform plan and apply without any issues. Google Cloud PlatformIn Google Cloud, note that you'll have to impersonate a service account to deploy the second half of the Terraform. Your terraform apply command may be failing if you skipped this step because the deployment service account has all necessary permissions to create resources. See step 4 in "Set up your deployment environment" on the GitHub documentation. |
Privacy Budget Errors
Error | PRIVACY_BUDGET_ERROR |
---|---|
Cause | This would indicate that the service was unable to process the reports due to an error with the privacy budget service. |
Check | Once you retry the job to see if the error was intermittent, reach out to us through the technical support form. |
Error | PRIVACY_BUDGET_AUTHORIZATION_ERROR |
---|---|
Cause | You may be using a different reporting origin than what they provided during onboarding. |
Check |
Ensure that the site that you are submitting in the The site should match or be a subdomain of what was onboarded. Note that Aggregation Service onboarding is handled at the top level domain, and all subdomains are eligible to use the Aggregation Service once the top level domain is onboarded. |
Error | PRIVACY_BUDGET_AUTHENTICATION_ERROR |
---|---|
Cause | You may be using outdated or incorrect ARN. |
Check |
Google Cloud Platform
Check that the service account being used in your Aggregation Service deployment matches the service account that was provided during onboarding. It must match exactly, not just belong to the same project. Amazon Web ServicesIt's expected that you are using the same coordinators that were provided for you through email. If you are still having issues, gather your auto.tfvars file and reporting origin information and reach out to us on the technical support form. |
Error | PRIVACY_BUDGET_EXHAUSTED |
---|---|
Cause |
Error:
"result_info": {
"return_code": "PRIVACY_BUDGET_EXHAUSTED",
"return_message": "com.google.aggregate.adtech.worker.exceptions.AggregationJobProcessException:
Insufficient privacy budget for one or more aggregatable reports. No aggregatable report can appear
in more than one aggregation job. Information related to reports that do not have budget can be
found in the following file:
File path: Privacy Budget exhaustion issue happens when you try to batch a report whose shared ID has already been included in a previously successful batch. This error occurs due to the "No duplicates" rule where aggregatable reports are only allowed to appear in a single batch and can only contribute to one summary report. Each report will be assigned a "shared ID" which will consist of the |
Check |
We recommend that you try out the Privacy Budget Exhausted support provided from job response to inspect and resolve your error. This provides a new helper JSON file that will provide visibility into what reports contributed to the error. Note that if you are batching correctly, you may be eligible for budget recovery (explainer). Suggest that they read the explainer and fill out the form, but note that their request will need to be approved in order to successfully recover the budget and run the job again. |
Error | DEBUG_SUCCESS_WITH_PRIVACY_BUDGET_EXHAUSTED |
---|---|
Cause |
This indicates you are running the job in debug mode. The job_parameters in the createJob request contains the debug_run: true . When the debug_run flag is enabled, you can run the report multiple times for debugging purposes. This error message informs you that the job would have failed due to the report's privacy budget being exhausted if it had not been run in debug mode. This error will only be valid in releases v2.10.0 or below.
|
Check |
The createJob request body will contain debug_run in the job_parameters .
{
"job_request_id": "{job_request_id}",
"input_data_blob_prefix": "{input_prefix}",
"input_data_bucket_name": "{input_bucket}",
"output_data_blob_prefix": "{output_prefix}",
"output_data_bucket_name": "{output_bucket}",
"job_parameters": {
"output_domain_blob_prefix": "{output_domain_prefix}",
"output_domain_bucket_name": "{output_domain_bucket}",
"attribution_report_to": "{reporting_origin}",
"debug_run": "true"
}
}
|
Job Runtime Errors
Error | INVALID_JOB |
---|---|
Endpoint | createJob |
Cause | This can happen when the debug privacy epsilon provided is not within the bounds (0.64], or when the job parameters fail validation. |
Check |
What epsilon value was used? What job parameters were used in the createJob request, and do those match your environment? Are they formatted correctly? Make the corrections needed and retry the job.
|
Error | INTERNAL_ERROR |
---|---|
Endpoint | getJob |
Cause | Can be a formatting issue that causes failed processing for output domain or reports. Can also be an issue with your Aggregation Service deployment. |
Check | Ensure output domain location is a valid path. Retry the job. If error persists, request the auto.tfvars file and the Terraform plan output to troubleshoot their Aggregation Service deployment.
|
Error | RESULT_WRITE_ERROR |
---|---|
Endpoint | getJob |
Cause | This can happen when the write to the output directory fails, either transiently or due to lack of write permission on the directory. Note that write errors do consume privacy budget, and the job cannot be retried. This can contribute to another error result of PRIVACY_BUDGET_EXHAUSTED error. |
Check | Is this error occurring on every job, or only intermittently? If this is occurring in every job, ensure that you have enabled write permissions on the output directory. If this is an intermittent failure, the permissions should be correct. It is a known issue that writing summary reports can fail but the privacy budget will still be consumed. In this case, you can request budget recovery (explainer). |
Issue | Encountering 403 errors while running a job and retrieving an attestation service token and the job is always returning back with status "RECEIVED". |
---|---|
Error |
{
"job_status": "RECEIVED",
"request_received_at": "{utc timestamp}",
"request_updated_at": "{utc timestamp}",
"job_request_id": "0001",
"input_data_blob_prefix": "reports/",
"input_data_bucket_name": "{bucket_name}",
"output_data_blob_prefix": "summary/",
"output_data_bucket_name": "{bucket_name}",
"postback_url": "",
"job_parameters": {
"output_domain_bucket_name": "{bucket_name}",
"output_domain_blob_prefix": "output_domain/",
"attribution_report_to": |
Resolution |
Jobs getting stuck in Once you have verified your enrollment and onboarding status, check what happened to your running job. Amazon Web ServicesWhen this happens, possibly the AWS enclave might not be running or has crashed and thus the jobs are not being picked up.
The managed instance group (MIG) may not be healthy. If this is the first-time setup, or you destroyed and recreated the
|
Is your summary report converting as expected?
A situation may arise where your getJob call is successful, but there is an
issue with the summary report returned by the Aggregation Service. The summary
report is AVRO formatted and will need to be converted to JSON
format. Once
converted to a json format, it will look similar to the following.
{
"bucket": "\u0005Y",
"metric": 26308
}
If the AVRO conversion is having any issue, try to use the AVRO tools and use
the following command on the AVRO report.
java -jar avro-tools-1.11.1.jar tojson [report_name].avro > [report_name].json
Stable versions can be downloaded from here. If you require further assistance,
continue on to our next steps.
Next Steps
Check if anyone else has encountered the same issue on the Privacy Sandbox Status Dashboard or on the public GitHub repository.
If you do not see a resolution to your Aggregation Service issue, notify us by filing a GitHub issue or submitting the technical support form.