Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

178
Views
GA4 Admin API for .Net throwing Internal error on CustomDimensions.Patch

I'm trying to update a GA4 dimension via the GA4 API using the .Net library. I've got to the point where it responds with an Internal Error, so not much of a clue why it is failing. Very similar code works fine for patching a CustomMetric.

var service = new GoogleAnalyticsAdminService(...); 

var request = service.Properties.CustomDimensions
    .Patch(new GoogleAnalyticsAdminV1alphaCustomDimension()
    {
        Description = "Same description",
        DisplayName = "New display name"
    }, "properties/1234567890/customDimensions/1234567890");

request.UpdateMask = "description,display_name";

await request.ExecuteAsync(cancellationToken); 

// Causes:
// Google.GoogleApiException
//   HResult=0x80131500
//   Message=Google.Apis.Requests.RequestError
// Internal error encountered. [500]
// Errors [
//  Message[Internal error encountered.] Location[ - ] Reason[backendError] Domain[global]
// ]
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Tony,

Thank you for reporting this, we will update this thread once the issue is fixed.

Ilya, The Google Analytics API Team

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!