You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I try to log I only get an empty out with
[meta]
[track]
// or sometimes
[meta]
state: undefined
[track]
On further debugging I found that the request req.query object is always empty. I am also unsure as to why you are checking for req.query in your handleRequest method.
When I build my own endpoint for this logger I am able to get the data successfully like so:
I was having the same issue til I realised you need to have body-parser in place. If you uncomment those three lines from your server code it should work.
This is my server code. The client init code is very similar to the demo code however I am passing the payload like so
Whenever I try to log I only get an empty out with
On further debugging I found that the request
req.query
object is always empty. I am also unsure as to why you are checking for req.query in yourhandleRequest
method.When I build my own endpoint for this logger I am able to get the data successfully like so:
Since there is limited documentation on the same, I am unable to figure out why this is happening.
Note:
HTML file is locally served from the system (using file:// ....)
The text was updated successfully, but these errors were encountered: