Open GoogleCodeExporter opened 9 years ago
Send: PATCH https://www.googleapis.com/fitness/v1/users/me/dataSources/raw%3Acom.google.weig ht%3Acom.google.android.apps.fitness%3Auser_input/datasets/1320991200000000000-1 320991200000000000?key={YOUR_API_KEY} Content-Type: application/json Authorization: Bearer ya29.zgD4f3sRwk8UzMzbdRDnB5KkJi2wCfvQNJFvr-TMFyJxBdMtkPZxSlwyDydUDUCFstNqZPMmeer VPQ X-JavaScript-User-Agent: Google APIs Explorer { "dataSourceId": "raw:com.google.weight:com.google.android.apps.fitness:user_input", "maxEndTimeNs": "1320991200000000000", "minStartTimeNs": "1320991200000000000", "point": [ { "dataTypeName": "com.google.weight", "endTimeNanos": "1320991200000000000", "startTimeNanos": "1320991200000000000", "value": [ { "fpVal": 94.2 } ] } ] } Expected response: 200-OK Instead: 403 Forbidden - Show headers - { "error": { "errors": [ { "domain": "global", "reason": "forbidden", "message": "No permission to modify data for this source." } ], "code": 403, "message": "No permission to modify data for this source." } }
Original issue reported on code.google.com by malherbe...@gmail.com on 30 Nov 2014 at 1:20
malherbe...@gmail.com
Original issue reported on code.google.com by
malherbe...@gmail.com
on 30 Nov 2014 at 1:20