Same Problem Here with NextCloud 21:
{
"reqId":"nl7uFKelQFPDV5yUZxPv",
"level":3,
"time":"2021-03-21T21:47:33+00:00",
"remoteAddr":"X.X.X.X",
"user":"prueba",
"app":"richdocuments",
"method":"GET",
"url":"/ncd/index.php/apps/richdocuments/index?fileId=609349&requesttoken=C7sbnJfqdWdMdWgNQZjlaM3Guex1PK%2FNwG01UU8MeXk%3D%3Afv10186dPgN1OBllB9%2FXArSolqU2Su39rB8HYHxaGx0%3D",
"message":{
"Exception":"Exception",
"Message":"Could not find urlsrc in WOPI",
"Code":0,
"Trace":[
{
"file":"/volume1/web/ncd/apps/richdocuments/lib/TokenManager.php",
"line":217,
"function":"getUrlSrc",
"class":"OCA\\Richdocuments\\WOPI\\Parser",
"type":"->",
"args":["text/plain"]
},
{
"file":"/volume1/web/ncd/apps/richdocuments/lib/Controller/DocumentController.php",
"line":256,
"function":"getToken",
"class":"OCA\\Richdocuments\\TokenManager",
"type":"->",
"args":["*** sensitive parameters replaced ***"]
},
{
"file":"/volume1/web/ncd/lib/private/AppFramework/Http/Dispatcher.php",
"line":218,
"function":"index",
"class":"OCA\\Richdocuments\\Controller\\DocumentController",
"type":"->",
"args":["*** sensitive parameter replaced ***",null]
},
{
"file":"/volume1/web/ncd/lib/private/AppFramework/Http/Dispatcher.php",
"line":127,
"function":"executeController",
"class":"OC\\AppFramework\\Http\\Dispatcher",
"type":"->",
"args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]
},
{
"file":"/volume1/web/ncd/lib/private/AppFramework/App.php",
"line":157,
"function":"dispatch",
"class":"OC\\AppFramework\\Http\\Dispatcher",
"type":"->",
"args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]
},
{
"file":"/volume1/web/ncd/lib/private/Route/Router.php",
"line":302,
"function":"main",
"class":"OC\\AppFramework\\App",
"type":"::",
"args":[
"OCA\\Richdocuments\\Controller\\DocumentController",
"index",
{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},
{"_route":"richdocuments.document.index"}
]
},
{
"file":"/volume1/web/ncd/lib/base.php",
"line":993,
"function":"match",
"class":"OC\\Route\\Router",
"type":"->",
"args":["/apps/richdocuments/index"]
},
{
"file":"/volume1/web/ncd/index.php",
"line":37,
"function":"handleRequest",
"class":"OC",
"type":"::",
"args":[]
}],
"File":"/volume1/web/ncd/apps/richdocuments/lib/WOPI/Parser.php",
"Line":54,
"CustomMessage":"--"
},
"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15",
"version":"21.0.0.18",
"id":"6057bef685e85"
}