ONVIF GetStatus Command Fails with "NoProfile" Error

ONVIF GetStatus Command Fails with "NoProfile" Error

ONVIF GetStatus Command Fails with "NoProfile" Error
ONVIF GetStatus Command Fails with "NoProfile" Error
2024-08-04 14:16:54 - last edited 2 weeks ago
Model: Tapo C212  
Hardware Version: V2
Firmware Version: 1.2.11 Build 231120

Hello,

 

I am using Tapo C212 on the latest firmware and am trying to get the current PTZ values from the camera. The ONVIF protocol specifies the GetStatus command to retrieve these (see section 5.3.6 GetStatus in the ONVIF PTZ Service Specification).

When sending the request to the camera, the command fails with the error "env:Sender - ter:InvalidArgVal - ter:NoProfile" ("The requested profile token ProfileToken does not exist.")

However, the profile token does exist, as it works fine with the other commands, such as "AbsoluteMove".

  0      
  0      
#1
Options
1 Accepted Solution
Re:ONVIF GetStatus Command Fails with "NoProfile" Error-Solution
2 weeks ago - last edited 2 weeks ago

Hi,

 

this is the email i got from the engineer:


May I ask which ONVIF client you use? Could you share us with the screenshot of the error message?

Please try to use the iSpy to see if it has the same issue by the FAQ link: https://www.tp-link.com/support/faq/2680/

If so, please reproduce the issue again and collect the Diagnostics Log by the FAQ link: https://www.tp-link.com/support/faq/3151/

If you know how to use Wireshark software, please also capture the date packets via the Wireshark software and share to us for further analysis.

Thanks for your understanding and cooperation!

Hope you have a nice day!

We look forward to hearing back from you. If you have additional information or feedback to provide, please feel free to let us know.

 

I reinvestigated the issue today and after a firmware update, it seems to be fixed.

The currently installed firmware is 1.3.14 Build 240514 Rel.5332n(4555).

I am using this Rust library: https://github.com/lumeohq/onvif-rs.

GetStatus returns with the expected values [1] in about 30ms

 

Good Luck!

 

[1] Returned Data:

GetStatusResponse {
        ptz_status: Ptzstatus {
            position: Some(
                Ptzvector {
                    pan_tilt: Some(
                        Vector2D {
                            x: 1.0,
                            y: -0.5,
                            space: Some(
                                "http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace",
                            ),
                        },
                    ),
                    zoom: None,
                },
            ),
            move_status: Some(
                PtzmoveStatus {
                    pan_tilt: Some(
                        Moving,
                    ),
                    zoom: None,
                },
            ),
            error: None,
            utc_time: DateTime {
                value: 2024-10-22T09:59:40+00:00,
            },
        },
    },

Recommended Solution
  0  
  0  
#10
Options
9 Reply
Re:ONVIF GetStatus Command Fails with "NoProfile" Error
2024-08-06 09:53:22

  @ymlu 

Hi,
I have reported the case to the tech team, and they will contact you via email to troubleshoot your case. Please wait patiently.
Best Regards

  0  
  0  
#2
Options
Re:ONVIF GetStatus Command Fails with "NoProfile" Error
2024-08-11 03:58:45

ymlu wrote

Hello,

 

I am using Tapo C212 on the latest firmware and am trying to get the current PTZ values from the camera. The ONVIF protocol specifies the GetStatus command to retrieve these (see section 5.3.6 GetStatus in the ONVIF PTZ Service Specification).

When sending the request to the camera, the command fails with the error "env:Sender - ter:InvalidArgVal - ter:NoProfile" ("The requested profile token ProfileToken does not exist.")

However, the profile token does exist, as it works fine with the other commands, such as "AbsoluteMove".

I. Have 2 tabo camera?  310_A134 ND C320ws(Eu) ver:2.0

ymlu 

  0  
  0  
#3
Options
Re:ONVIF GetStatus Command Fails with "NoProfile" Error
2024-08-11 03:59:15

  @ymlu 

  0  
  0  
#4
Options
Re:ONVIF GetStatus Command Fails with "NoProfile" Error
2024-08-11 09:11:05

  @Solla-topee Thank you, a system engineer already contacted me. Unfortunately I do not have access to the camera in the next weeks, but will test the suggested solutions as soon as possible.

  0  
  0  
#5
Options
Re:ONVIF GetStatus Command Fails with "NoProfile" Error
2024-08-11 09:11:40 - last edited 2024-08-11 09:12:09

  @Gbox Sorry, I don't understand.

  0  
  0  
#6
Options
Re:ONVIF GetStatus Command Fails with "NoProfile" Error
3 weeks ago

  @ymlu @Solla-topee  Sorry, if you are fine to share, what was the suggested solution from the engineer. Did it work?
I am also having a same problem with my Tapo C210 camera. 

Hardware Version: V2

Firmware Version: 1.3.11 Build 231115

  0  
  0  
#7
Options
Re:ONVIF GetStatus Command Fails with "NoProfile" Error
2 weeks ago

  @fleshuu 

Hi,
Are you able to pan & tilt the camera via the Tapo app? What app have you used to stream/control the camera via an Onvif connection? Have you tried other apps that support the RTSP/Onvif protocols?
Best Regards

  0  
  0  
#8
Options
Re:ONVIF GetStatus Command Fails with "NoProfile" Error
2 weeks ago

  @Solla-topee Hi,
I am able to pan & tilt the camera via the Tapo app.
I was using this nodejs package to pan & tilt, and it worked fine. But when I tried to run the getStatus method, it runs into the error described in the post.
I also tried using python onvif-zeep, but it also threw an error on the getStatus method.

Thank you for your support.

  0  
  0  
#9
Options
Re:ONVIF GetStatus Command Fails with "NoProfile" Error-Solution
2 weeks ago - last edited 2 weeks ago

Hi,

 

this is the email i got from the engineer:


May I ask which ONVIF client you use? Could you share us with the screenshot of the error message?

Please try to use the iSpy to see if it has the same issue by the FAQ link: https://www.tp-link.com/support/faq/2680/

If so, please reproduce the issue again and collect the Diagnostics Log by the FAQ link: https://www.tp-link.com/support/faq/3151/

If you know how to use Wireshark software, please also capture the date packets via the Wireshark software and share to us for further analysis.

Thanks for your understanding and cooperation!

Hope you have a nice day!

We look forward to hearing back from you. If you have additional information or feedback to provide, please feel free to let us know.

 

I reinvestigated the issue today and after a firmware update, it seems to be fixed.

The currently installed firmware is 1.3.14 Build 240514 Rel.5332n(4555).

I am using this Rust library: https://github.com/lumeohq/onvif-rs.

GetStatus returns with the expected values [1] in about 30ms

 

Good Luck!

 

[1] Returned Data:

GetStatusResponse {
        ptz_status: Ptzstatus {
            position: Some(
                Ptzvector {
                    pan_tilt: Some(
                        Vector2D {
                            x: 1.0,
                            y: -0.5,
                            space: Some(
                                "http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace",
                            ),
                        },
                    ),
                    zoom: None,
                },
            ),
            move_status: Some(
                PtzmoveStatus {
                    pan_tilt: Some(
                        Moving,
                    ),
                    zoom: None,
                },
            ),
            error: None,
            utc_time: DateTime {
                value: 2024-10-22T09:59:40+00:00,
            },
        },
    },

Recommended Solution
  0  
  0  
#10
Options