diff --git a/app/client/src/components/editorComponents/Debugger/EntityLink.tsx b/app/client/src/components/editorComponents/Debugger/EntityLink.tsx
index a014fe737b..e9b936a782 100644
--- a/app/client/src/components/editorComponents/Debugger/EntityLink.tsx
+++ b/app/client/src/components/editorComponents/Debugger/EntityLink.tsx
@@ -21,6 +21,7 @@ import history, { NavigationMethod } from "utils/history";
import { getQueryParams } from "utils/URLUtils";
import { datasourcesEditorIdURL, jsCollectionIdURL } from "RouteBuilder";
import type LOG_TYPE from "entities/AppsmithConsole/logtype";
+import type { Plugin } from "api/PluginApi";
function ActionLink(props: EntityLinkProps) {
const applicationId = useSelector(getCurrentApplicationId);
@@ -30,7 +31,9 @@ function ActionLink(props: EntityLinkProps) {
if (action) {
const { id, pageId, pluginType } = action;
const actionConfig = getActionConfig(pluginType);
- const url = applicationId && actionConfig?.getURL(pageId, id, pluginType);
+ const url =
+ applicationId &&
+ actionConfig?.getURL(pageId, id, pluginType, props.plugin);
if (!url) return;
history.push(url);
const actionType = action.pluginType === PluginType.API ? "API" : "QUERY";
@@ -199,6 +202,7 @@ function EntityLink(props: EntityLinkProps) {
type EntityLinkProps = {
uiComponent: DebuggerLinkUI;
+ plugin?: Plugin;
errorType?: LOG_TYPE;
errorSubType?: string;
appsmithErrorCode?: string;
diff --git a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx
index 7166e928c2..05ec4ee51c 100644
--- a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx
+++ b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx
@@ -77,7 +77,7 @@ export default function LogEntityLink(props: LogItemProps) {
// this case is highly unlikely to happen.
return ;
};
-
+ const plugin = props.iconId ? pluginGroups[props.iconId] : undefined;
return (