Integration Zimbra 9 NE fail 404 not found (url not found in this server)

hello everyone, I’m new to nextcloud and zimbra. Here I want to integrate zimbra 9 NE and NC 24. I have tried configuring using oauth2 following the official document but found an error 404 file not found when I wanted to click “activate” in zimbra modern UI, I’ve been looking for references but still not resolved. Thank you for your suggestions

POC : add oauth2 client → install zimlets-nextcloud → restart zimbra → add command below → activate plugin → activate nextcloud → error 404

zmprov md mx11examplecom zimbraOAuthConsumerCredentials client identifier:secret:nextcloud
zmprov md mx11examplecom zimbraOAuthConsumerRedirectUri https://mx11.example.com/service/extension/oauth2/authenticate/nextcloud:nextcloud
zmprov md mx11examplecom zimbraOAuthConsumerAPIScope ‘http://103.xx.xx.xx/index.php:nextloud_noop

Hi,
It was hard to find this topic as most users post about Zimbra Drive which is outdated and is not supported after version NC14.

The other option is to integrate the NextCloud button link from Zimbra 9 Modern UI but it is not working as expected.
I have opened many tickets with Zimbra support team but they pretend not to cover NextCloud issues and then I may have replies here which also can say, NC team doesn’t cover Zimbra issues, so it is tricky and frustrating.

I have configured both NC and Zimbra as instructed in the Admin Guide:
https://zimbra.github.io/zimbra-9/adminguide.html#_setting_up_nextcloud

I have mounted 2 separate NC servers, one under same 1 IP as Zimbra (port:444) then another under a separate private IP from Zimbra just to make sure this was not the issue.
I see the NC ACTIVATE button, it opens the NC login web interface asking for Authorization, so the link is working fine, then after signing in with same Zimbra user, (NC created and recognized Zimbra users through LDAP) it goes back to the Zimbra UI but no files are being visible or shared by NC, the button Activate is still there in Zimbra like nothing happened.
I would appreciate if anyone has experienced this issue, the setting up is simple but yet not working and maybe something is missing that Zimbra People didn’t figure out or NextCloud needs some other setup.
Thank you.