SV
Hi Guy! Thank you very much for sharing your experience. Did you face a CORS error while sending logs to DD from the extension? I have a problem: all requests, either from background or content are rejected by Datadog with the error: Access to fetch at 'http-intake.logs.datadoghq.eu/api/v2/logs' from origin 'chrome-extension://*********' has been blocked by CORS policy : Request header field dd-api-key is not allowed by Access -Control-Allow-Headers in preflight response. Postman's exact (absolutely the same) request passed successfully (code 202 and entry in Datadog).
CommentArticleNov 9, 2023Enabling Chrome Extension Logging with Datadog: A Journey of Trial and Error