lethanhtuanhcm1982 / google-apis-explorer

Automatically exported from code.google.com/p/google-apis-explorer
Apache License 2.0
0 stars 0 forks source link

Error:Incorect URL - analytics.management.uploads.uploadData #201

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  autenticate
2.  enter values required
3.  execute

What is the expected output? What do you see instead?
Probably some error relating to the fact that there was no file added

What version of the product are you using? On what operating system?
https://developers.google.com/apis-explorer/#p/analytics/v3/analytics.management
.uploads.uploadData

Please provide any additional information below.

Looks like its sending the request to the incorrect url  

https://www.googleapis.com/analytics/v3/management/accounts/45053573/webproperti
es/UA-45053573-1/customDataSources/C3KzelbxQ8ukKLXhJgOyig/uploads?key={YOUR_API_
KEY}

The documentation says that that is the corect URL as well 
https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/m
anagement/uploads/uploadData

Returns error:
Upload request URL should start with 
https://www.googleapis.com/upload/analytics/

Original issue reported on code.google.com by laurl...@gmail.com on 24 Aug 2014 at 2:12