VMS is not able to process events

I’m experiencing an issue with an analytics event being sent to a VMS, I’m receiving the following error message. Can you plese assist me with this problem?

This is the VMS’s event

details.

I am using Postman to send the details as of now for experimentation. FYI

This is to implement, sending alerts with Python. FYI

As a first step please check the setup.

In Management Client -Tools -Options -Analytics Events tab, enable and configure the sender IP (unless sending in the same machine) or allow all.

You can verify the event: In the Management Client find the analytics event and test it by using the “Test event” button.

Thanks for the reply, following the above answer, I got the following.

This what it says.

If it is working, then what is going on with the postman? I use xml from c sharp code from your repository with Type and Message changed to custom ones.

Once Postman is working, we have to write the custom python script based on that.

Please help us to fix the issue.

When you run the c# sample, does it work then?

I have no experience debugging this when using Posman, I guess you need to verify that you do the same in Postman as the sample does..

Finally, I need to port this to python3, that’s all.

I will start testing the c# code, I believe it is the XML structure that makes the issue.

<?xml version="1.0" encoding="utf-8"?>
<AnalyticsEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" 
                xmlns="urn:milestone-systems">
  <EventHeader>
    <ID>00000000-0000-0000-0000-000000000000</ID>
    <Timestamp>$timestamp$</Timestamp>
 
    <Type>Analytics_test</Type>
    
    <!-- Insert Event Message here -->
    <Message>Analytics_test</Message>
 
    <CustomTag>TagFromXML</CustomTag>
 
    <Source>
 
      <!-- Insert camera URI here, if you don't have the GUID. -->
      <!-- (For multichannel devices, URI may contain channel number after ',') -->
      <Name>192.168.0.199</Name>
 
<!--      <FQID>  -->
<!-- Insert camera GUID here, if you have it -->
<!--<ObjectId>068680AB-5350-4AC7-A47E-652300B16252</ObjectId>-->
<!--      </FQID> -->
        
    </Source>
  </EventHeader>
 
  <Description>
    Analytics event description.
  </Description>
 
  <Location>
    Event location 1
  </Location>
 
  <Vendor>
    <Name>My Smart Video</Name>
  </Vendor>
 
</AnalyticsEvent>

We are using this xml as of now, Please help us to figure out the issue.

The sample replaces $timestamp$ with a real date, a datetime formatted string replacement before sending the XML. I now strongly suspect that this is what you are missing..

Now changed to a warning, after the requested change. Please help

You have a space in your name. “Analytics _test” and “Analytics_test” are not the same.

Thank you @Bo Ellegård Andersen (Milestone Systems)​, that was an issue, The message was successfully delivered.

Now, for a different issue, We are generating events from a different analytics engine, that doesn’t have source info. without the need for specifying the source

can we achieve triggering?

New topic, new question. Please separate and create new questions in order to keep the forum usable (searchable)

Thank you @Bo Ellegård Andersen (Milestone Systems)​