When sending the metrics data from iOS example app to aerogear-metrics-api, I'm getting 500 in the response because the clientId string length exceeds the limit [specified for the database in app metrics|https://github.com/aerogear/aerogear-app-metrics/blob/bc1ee5d951c2567abd947cec9fe5d3e1d0594900/pkg/dao/db.go#L52]: {code} postgres_1 | ERROR: value too long for type character varying(30) postgres_1 | STATEMENT: INSERT INTO mobileappmetrics(clientId, data) VALUES($1, $2) {code}
If the length is shortened to length 30, it's saved successfully |
|