Issue with Running Scripts via API on Tactical RMM: "Method GET Not Allowed" Error #1986
-
Hi everyone, I've recently started using Tactical RMM and have encountered a problem when trying to run scripts through the API. I'm attempting to use the endpoint:
I include the "x-api-key" in the header and a JSON body that specifies the script, following the guidelines provided in the Tactical RMM API documentation. Despite this, I'm unable to execute the script as expected. Here's the basic format of my request: Headers: Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
paste your script here so we can see |
Beta Was this translation helpful? Give feedback.
-
This script has been instrumental in my recent projects. Please note that placeholders marked with '<>' were replaced with actual data, not mock data. Below, you'll find the output generated by this script. |
Beta Was this translation helpful? Give feedback.
-
I would like to join you. https://api.domain.de/agents/NDg57muPOoE3c4hzclUDwocgdnpAvyIWrlMlZjM/runscript/ The Body: GET requests work perfectly Error Message: <!doctype html> <title>Server Error (500)</title>Server Error (500)There is nothing relevant in the trmm_debug.log |
Beta Was this translation helpful? Give feedback.
-
thanks for answer. I have modified the Body { I get no errors but a timeout. |
Beta Was this translation helpful? Give feedback.
-
TRMM Version 0.20.0 I have tested it myself in trmm as Web Hok. The domain is resolved internally. we have a split dns setup. The test returns the following message URL: HTTPSConnectionPool(host='api.domain.de', port=443): Read timed out. (read timeout=8) Body Response |
Beta Was this translation helpful? Give feedback.
missing a trailing slash at the end of the url