full-waiter-76117
01/11/2023, 9:23 PMINFO gateway gateway/gateway.go:1194 IP: 10.33.240.63 -- /v1/track -- Response: 401, Invalid Write Keysilly-kitchen-30880
01/11/2023, 9:23 PMfull-waiter-76117
01/12/2023, 1:15 PMquiet-wolf-72320
01/12/2023, 6:43 PMfull-waiter-76117
01/15/2023, 4:25 PMquiet-wolf-72320
01/16/2023, 9:01 AMfull-waiter-76117
01/16/2023, 9:04 AMquiet-wolf-72320
01/16/2023, 9:07 AMWORKSPACE_TOKEN=<your_workspace_token> ?full-waiter-76117
01/16/2023, 9:08 AMquiet-wolf-72320
01/16/2023, 9:12 AMInvalid Write Key Says that the data plane and control plane integration might have some issues and the data plane is not able to identify the source created in the control plane. I will explore a bit more on this but can you check if workspace token is correct and you are hitting correct data plane?full-waiter-76117
01/16/2023, 9:13 AMfull-waiter-76117
01/16/2023, 10:10 AMfull-waiter-76117
01/17/2023, 9:36 AMquiet-wolf-72320
01/17/2023, 10:02 AMfull-waiter-76117
01/17/2023, 11:44 AMfresh-agent-5682
01/17/2023, 10:22 PMOK from the server? Only if events are successfully ingested, they will be processed and uploaded to S3.
Also, assuming the events are coming from a js source (some website), can you double check the instrumentation if the writeKey provided is correct or not.full-waiter-76117
01/18/2023, 8:33 AMfresh-agent-5682
01/18/2023, 6:11 PMfull-waiter-76117
01/19/2023, 10:50 AMfull-waiter-76117
01/23/2023, 11:27 AMfresh-agent-5682
01/23/2023, 12:32 PMOK to the client - these events are uploaded to S3 - All good here
For some requests - server sent invalid write key - this is because the write key is wrong. If the write key is right, you should receive OK.
Are you saying the server is responding with invalid write key even if the write key is right? What client are you using?full-waiter-76117
01/23/2023, 3:07 PMfull-waiter-76117
01/24/2023, 3:39 PMfresh-agent-5682
01/24/2023, 5:27 PMinvalid write key for only some requests even though it is a valid write key sounds strange to me.
Can you pls log the request either client side or capture the request on the server side (tcpdump) and find the write key in the header. Base64 decode it and see if it is right?full-waiter-76117
01/24/2023, 10:55 PMfresh-agent-5682
01/24/2023, 11:23 PMfull-waiter-76117
02/01/2023, 8:16 AMquiet-wolf-72320
02/01/2023, 9:13 AMfull-waiter-76117
02/01/2023, 12:37 PMfull-waiter-76117
02/03/2023, 1:47 PMfull-waiter-76117
02/23/2023, 9:17 AMmillions-parrot-4897
03/07/2023, 6:44 AMCan you pls log the request either client side or capture the request on the server side (tcpdump) and find the write key in the header. Base64 decode it and see if it is right?As @fresh-agent-5682 mentioned, did you verify the write key like this?