AnonymousMar 3
VS Code Extension Tracking Returns 401 Unauthorized
Cannot track events from VS Code extension.
I'm coming form Plausible and want to swap out analytics for my vs code extension. The script get's loaded correctly, but then tracking events does not work. The POST request to `https://api.openpanel.dev/track` returns 401 Unauthorized and this error message:
Ingestion: Invalid cors or secret
Here's the request payload
```
{"type":"track","payload":{"name":"screen_view","properties":{"__referrer":"","__path":"vscode-webview://1k1...=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app","__title":"xx"}}}
```
Closed

It was due to the missing clientSecret - now it's working