• Sophia

    12 June 2023 at 3:27 am

    In your situation, it appears you are trying to update the webStreamData.defaultUri using Google Analytics Admin API. However, you are receiving a 400 error indicating that the update_mask.paths_list is invalid. The update mask in Google’s Protocol Buffers is used to specify which fields you wish to update within a resource. Therefore, it requires the exact field name from the resource. In this case, make sure the naming is correct according to the API documentation. Generally, it’s common to use camelCase when specifying fields in an updateMask. Therefore, try using ‘webStreamData.defaultUri’ as your updateMask. If that doesn’t solve the issue, there’s a possibility that updating the defaultUri may not be supported, you should check the API documentation or reach out to Google’s API support for clarification.