Failed to initiate recorder status session due to error 'Token invalid' 20001

Hi,

I’m using the Recorder Status Service SOAP protocol with the following flow:

  1. Login to Server via Server Command Service (in order to get Token)
  2. Open SOAP session Status protocol (WSDL: /RecorderStatusService/RecorderStatusService2.asmx)
  3. Request to listen on specific devices

I’m getting the token via Server Command Service when calling the operation ‘Login’ without any parameters.

Then I use the received token to initiate the session with recorder status protocol via calling the ‘StartStatusSession’ SOAP operation.

The response is the following error: Token invalid 20001 (sub error 2).

With the same token I successfully connected to the image server SOAP protocol, but the same token is invalid for recorder status service.

So, it seems that the issue is with the recorder status server and not the token itself

Can you please assist with that issue?

Hello,

If the token is valid when used with the Image Server SOAP protocol, it should also be valid on the status API. The server-side code checking the token is basically the same for both services.

May I ask how you make the calls (are you using SDK, self-made client or something else)?

I suspect one of two things:

  1. The client puts the token in the SOAP message differently for the two services (different encoding or extra characters)
  2. The different messages may not actually go to the same recording server after all

Would it be possible for you to verify the above two things. Maybe using WireShark or something similar to check the actual bytes sent to the recording server.

Regards

Klaus