google-cloud-php
google-cloud-php copied to clipboard
Could not map bindings for google.analytics.data.v1beta.BetaAnalyticsData/RunReport to any Uri template
By running the example code at https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries I get this error:
Could not map bindings for google.analytics.data.v1beta.BetaAnalyticsData/RunReport to any Uri template
If I'm doing something wrong then this error message is garbage.
Turns out I was passing
'property' => MY_PROPERTY_ID
instead of
'property' => 'properties/' . MY_PROPERTY_ID
Again, you need to fix the error message, something like "Invalid value XXXXX for parameter 'property'", or whatever.
@php4fan Would you be able to share a brief stacktrace, please?
@php4fan Would you be able to share a brief stacktrace, please?
@dwsupplee did you try and fail to reproduce as per my previous comment?