amplitude / amplitude/analytics-go
Unhelpful logs
- Dominant language
- Go
- Stars
- 13
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
We get the following kind of logs once in a while: `Request missing required field: code=400, events=[{"event_type":"[Experiment] Assignment","time":1764943694841,"insert_id":" 2292430750 20427","library":"amplitude-go/1.0.1","event_properties":{"08c4e909-cc12-443e-b794-a8`
We suspect what's missing is the device ID (other logs tell us so.
It seems there is a logging issue though. It looks like we should receive `Request missing field: ` here.
I believe it comes from this line https://github.com/amplitude/analytics-go/blob/c2792ab7b01a55431a467670fd0dbac1c8c46f90/amplitude/plugins/destination/internal/amplitude_response_processor.go#L71
## Expected Behavior
we should receive `Request missing field: `
## Current Behavior
`Request missing field: code=400…`
## Possible Solution
## Steps to Reproduce
## Environment
- SDK Version: analytics-go v1.0.1
- Go Version: 1.25
- OS Info: linux
Contributor guide
Assessment
This issue has not been assessed yet.