Ad Widget

Collapse

Error in template "GitLab by HTTP"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yetiforce
    Junior Member
    • Apr 2025
    • 6

    #1

    Error in template "GitLab by HTTP"

    I have an error in the operation of the "GitLab by HTTP" template, has anyone had a similar problem and knows how to fix it?

    Preprocessing failed for: <!DOCTYPE html>.<html class="html-devise-layout gl-light" lang="en">.<head>.<meta charset="utf-8"...
    1. Result: <!DOCTYPE html>.<html class="html-devise-layout gl-light" lang="en">.<head>.<meta charset="utf-8"...
    2. Failed: cannot convert Prometheus data to JSON: data parsing error at row 1 "<!DOCTYPE html>": cannot parse metric name

    Attached Files
  • avesst
    Junior Member
    • Oct 2025
    • 2

    #2
    Hi,

    Did you ever solve this? I seem to have the same issue.

    Comment

    • jornmul
      Junior Member
      • Dec 2025
      • 1

      #3
      Hi,
      Got the same error, fixed by RTFM
      {$GITLAB.HEALTH.TOKEN} macro must have a value : ?token=your_token
      If the value field only has the token you got from your gitlab without prepending it with "?token=", then it fails.
      Cheers,

      Comment

      Working...