umami
umami copied to clipboard
missing formal parameter
Describe the Bug
Sentry catch unhandled exception:
💀 Unhandled missing formal parameter (https://example.com/script.js#1)
Database
PostgreSQL
Relevant log output
{
"platform": "javascript",
"message": "missing formal parameter (https://example.com/script.js#1)",
"datetime": "2024-03-20T00:57:55+00:00",
"tags": [
[
"browser",
"Chrome 83.0.4103"
],
[
"browser.name",
"Chrome"
],
[
"environment",
"production"
],
[
"handled",
"no"
],
[
"level",
"error"
],
[
"mechanism",
"onerror"
],
[
"os",
"Windows 7"
],
[
"os.name",
"Windows"
],
[
"user",
"ip:REDACTED"
],
[
"url",
"https://example.pl/"
]
],
"contexts": {
"browser": {
"name": "Chrome",
"version": "83.0.4103",
"type": "browser"
},
"os": {
"name": "Windows",
"version": "7",
"type": "os"
}
},
"culprit": "",
"environment": "production",
"exception": {
"values": [
{
"type": "Error",
"value": "missing formal parameter (https://example.com/script.js#1)",
"stacktrace": {
"frames": [
{
"module": "<unknown module>",
"filename": "https://example.pl/",
"abs_path": "https://example.pl/",
"lineno": 1,
"colno": 827,
"context_line": "<!DOCTYPE html>",
"post_context": [
"<html lang=\"en-US\" dir=\"ltr\">",
" <head>",
" <meta charset=\"utf-8\">",
" <meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">",
" <title>EXAMPLE</title>"
],
"in_app": true
}
]
},
"raw_stacktrace": {
"frames": [
{
"filename": "https://example.pl/",
"abs_path": "https://example.pl/",
"lineno": 1,
"colno": 827,
"context_line": "<!DOCTYPE html>",
"post_context": [
"<html lang=\"en-US\" dir=\"ltr\">",
" <head>",
" <meta charset=\"utf-8\">",
" <meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">",
" <title>EXAMPLE</title>"
],
"in_app": true
}
]
},
"mechanism": {
"type": "onerror",
"synthetic": true,
"handled": false
}
}
]
},
"level": "error",
"logentry": {
"formatted": "missing formal parameter (https://example.com/script.js#1)"
},
"logger": "",
"metadata": {
"display_title_with_tree_label": false,
"in_app_frame_mix": "in-app-only",
"value": "missing formal parameter (https://example.com/script.js#1)"
},
"nodestore_insert": 1710896277.171627,
"received": 1710896275.898836,
"request": {
"url": "https://example.pl/",
"headers": [
[
"User-Agent",
"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36"
]
]
},
"scraping_attempts": [
{
"status": "success",
"url": "https://example.pl/"
}
],
"timestamp": 1710896275.526,
"title": "<unknown>",
"type": "error",
"version": "7",
"location": null
}
Which Umami version are you using? (if relevant)
v2.10.2
Which browser are you using? (if relevant)
Chrome 83.0.4103
How are you deploying your application? (if relevant)
Docker
We have no such error in the application. You will need to provide a reproducible example.
Reproducible... Run analytics code v2.10.2 using Chrome 83.
What I mean is I need an example to troubleshoot. Is it when you open the dashboard? under website? on every page? I don't use Sentry.
This is the page where analytics are installed.
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.