Most of the time the client is not a problem, but you can confirm looking at browser dev tools (f12).
Most likely you are missing/wrong aliasgroup setting or wopi_allowlist settings. use search it helps! e.g. Nextcloud Office fails to load - #4 by emburaman