ONVIF device configuration failure

I have five cameras (Hikvision DS-2CD2155FWD-I, DS-2CD2185FWD-I, DS-2CD2385FWD-I, 2x Annke I91BF).
All of them are on the (as far as I know) newest firmware V5.6.820 build 220519.
Four of them are easily integrated via ONVIF.
But the second Annke Camera always comes with this error:

Could not authenticate: The action requested requires authorization and the sender is not authorized (code:env:Sender) (subcodes:{http://www.onvif.org/ver10/error}NotAuthorized)

Username and Password are definitely correct. I’m able to log in via the WebUI of the camera without any problems.
I also checked the configuration of the secong Annke camera. It’s exactly the same as the configuration of the working one.

I’m really desperate. :frowning:

Any ideas what the problem might be?

SOLVED

I’m sorry. I was so stupid. WebUI Username was admin and ONVIF Username was Admin.

1 Like

Thank you for posting this I was doing the same thing and I used admin and it worked for both of my cameras, simple fixes can be frustrating lol

I had a similar issue, it turned out to be a typo on the camera NTP settings so the date/time was incorrect

So i have tried users name Admin but what password

Thank you very much for mentioning this! In my case, some of the hikvision cameras I’m integrating happen to unsync time with home assistant, requiring me to manually enter each camera, manually re-setting time to any value and then resyncing with NTP, then I go to home assistant and relog into onvif. In this case, it was the same, but instead of saying something like "can’t log in due to time unsync’, it just showed “unauthorized”