INVALID_ARGUMENT due to Service Control API?

53 views
Skip to first unread message

Nan Jiang

unread,
Jul 13, 2020, 12:32:35 PM7/13/20
to Google App Engine
Got increased amount of `INVALID_ARGUMENT` errors related to the Service Control API

Any reason why?
```
HttpBadRequestError: HttpError accessing <https://servicecontrol.googleapis.com/v1/services/service_name:report?alt=json>: response: <{'status': '400', 'content-length': '741', 'x-xss-protection': '0', 'x-content-type-options': 'nosniff', 'transfer-encoding': 'chunked', 'vary': 'Origin, X-Origin, Referer', 'server': 'ESF', '-content-encoding': 'gzip', 'cache-control': 'private', 'date': 'Fri, 10 Jul 2020 23:14:17 GMT', 'x-frame-options': 'SAMEORIGIN', 'alt-svc': 'h3-29=":443"; ma=2592000,h3-27=":443"; ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"', 'content-type': 'application/json; charset=UTF-8'}>, content <{ "error": { "code": 400, "message": "MetricValueSet has value with duplicated signature: metric_name: \"serviceruntime.googleapis.com/api/request_latencies_backend\"\nmetric_values {\n distribution_value {\n count: 3\n mean: 0.14413433333333334\n minimum: 0.072129\n maximum: 0.193886\n sum_of_squared_deviation: 0.0081552220446666681\n bucket_counts: 0\n bucket_counts: 0\n bucket_counts: 0\n bucket_counts: 0\n bucket_counts: 0\n bucket_counts: 1\n bucket_counts: 2\n bucket_counts: 0\n bucket_counts: 0\n bucket_counts: 0\n exponential_buckets {\n num_finite_buckets: 8\n growth_factor: 10\n scale: 1e-06\n }\n }\n}\n", "status": "INVALID_ARGUMENT" } }
```

Olu

unread,
Jul 14, 2020, 10:59:36 AM7/14/20
to Google App Engine
There are a number of reasons this type of error may be reported. Generally I see that INVALID_ARGUMENT is returned when client specified an invalid argument in the call[1][2][3]. So, what may be happening depends on your setup and your use-case. 
Reply all
Reply to author
Forward
0 new messages