You need to enable JavaScript to run this app.
Application Performance Management Plus

Application Performance Management Plus

Copy page
Download PDF
JS error
MiniProJsErrDetailStack
Copy page
Download PDF
MiniProJsErrDetailStack
Get JS error stack information.​
Request description​
RUM is deployed across multiple regions worldwide to provide more stable and low-latency access. You can refer to the Service addresses topic to choose the most suitable access point based on your business location.​
  • Request method: POST​
  • Request URL: https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=MiniProJsErrDetailStack&Version=2024-03-12​
Request parameters​
The following table lists only the request parameters specific to this API and some public parameters. For details, see Public parameters.​
​
Parameters​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
MiniProJsErrDetailStack​
The API name. The current API name is MiniProJsErrDetailStack.​
Version​
String​
Yes​
2024-03-12​
The API version. The current API version is 2024-03-12.​
common​
Object of Common​
Yes​
-​
Common parameters.​
issue_id​
String​
Yes​
1234567223a4eaefffbe9b2f59bb933b​
JS error aggregation ID.​
release​
String​
No​
v1.2.3​
Version where the JS error occurred.​
​
Common​
​
Parameters​
Type​
Required​
Sample value​
Description​
aid​
Long​
Yes​
12345​
Application ID.​
site_type​
String​
Yes​
web​
Site type.​
env​
String​
Yes​
online​
Environment. An empty string "" indicates all.​
os​
String​
No​
minipro​
Service type. Available values are webpro, app, and minipro.​
user​
String​
No​
test_user​
Username.​
​
Sample request​
​
POST https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=MiniProJsErrDetailStack&Version=2024-03-12​
{​
"common": {​
"aid": 12345,​
"site_type": "web",​
"env": "online",​
"user": "test_user",​
"os": "webpro"​
},​
"issue_id": "1234567223a4eaefffbe9b2f59bb933b",​
"release": "v1.2.3"​
}
​
Response parameters​
​
Parameters​
Type​
Sample value​
Description​
data​
Object of Data​
-​
JS error stack.​
error_msg​
String​
-​
Error message. It is empty if the request succeeds.​
error_no​
Integer​
0​
Error code. 0 indicates success.​
​
Data​
​
Parameters​
Type​
Sample value​
Description​
stack​
Object of Stack​
-​
JS error stack.​
​
Stack​
​
Parameters​
Type​
Sample value​
Description​
values​
Array of Values​
-​
JS error stack.​
​
Values​
​
Parameters​
Type​
Sample value​
Description​
raw_stacktrace​
Object of RawStacktrace​
-​
Stack of parsed JS errors.​
stacktrace​
Object of Stacktrace​
-​
Stack of unparsed JS errors.​
​
RawStacktrace​
​
Parameters​
Type​
Sample value​
Description​
frames​
Array of Frames​
-​
JS error stack frame.​
​
Stacktrace​
​
Parameters​
Type​
Sample value​
Description​
frames​
Array of Frames​
-​
JS error stack frame.​
​
Frames​
​
Parameters​
Type​
Sample value​
Description​
colno​
Long​
1​
Column number.​
lineno​
Long​
1​
The line number.​
context_line​
String​
-​
The code for the corresponding line.​
filename​
String​
12345.js​
Corresponding file name.​
function​
String​
x​
Function name for the corresponding line.​
release​
String​
v1.2.3​
Version.​
post_context​
Array of String​
[]​
The next 5 lines of code.​
pre_context​
Array of String​
[]​
The preceding 5 lines of code.​
​
Sample response​
​
{​
"data": {​
"stack": {​
"values": [​
{​
"raw_stacktrace": {​
"frames": [​
{​
"filename": "12345.js",​
"colno": 1,​
"context_line": "",​
"pre_context": [​
​
],​
"release": "v1.2.3",​
"lineno": 1,​
"function": "x",​
"in_app": false,​
"post_context": [​
​
]​
}​
]​
},​
"stacktrace": {​
"frames": [​
{​
"post_context": [​
​
],​
"pre_context": [​
​
],​
"colno": 1,​
"filename": "12345.js",​
"release": "v1.2.3",​
"context_line": "",​
"lineno": 1,​
"function": "x",​
"in_app": false​
}​
]​
}​
}​
]​
}​
},​
"error_msg": "",​
"error_no": 0​
}
​
Error codes​
No error codes are specific to this API. If the API call returns an error code, refer to Public error codes for troubleshooting.​
Last updated: 2026.09.17 16:15:45