1 Reply Latest reply on Mar 23, 2020 12:36 PM by Laurent Matheo

    "TypeError: Failed to fetch" Error while trying to create event class on Helixmonitor

    Vidhi Kokel
      Share This:

      Hey,

       

      While creating an event class on Helix Monitor using Swagger UI, I got the following error "TypeError: Failed to fetch" with no Response Status Code when I hit the URL "[Base_URL]/{apiVersion}/events/class". I tried different combinations for the body of that API call that worked earlier but could not resolve the issue. I even tried to make an API call to the same endpoint with the same parameters using Postman but got a "default backend - 404" error with Response Status Code: 404. Attaching the body that I used below.

       

      {

        "name": "TestEventClass",

        "parentClassName": "EVENT",

        "attributes": [

          {

            "enum": true,

            "name": "At1",

            "dataType": "INTEGER",

            "enumElements": [

              {

                "index": 2,

                "value": "MINOR"

              }

            ]

          }

        ]

      }

       

      Can anyone guide me if there is any issue with the body or is the problem from the server side?