Skip to content

Evaluations error: Couldnt fetch test cases #15863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cblokland90 opened this issue May 30, 2025 · 3 comments
Open

Evaluations error: Couldnt fetch test cases #15863

cblokland90 opened this issue May 30, 2025 · 3 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@cblokland90
Copy link

Bug Description

When going into evals tab and click "Run tests" it errors with "Couldn't fetch test cases"

Image

And the execution has this exception:

{
"errorMessage": "Credentials not found",
"errorDetails": {
"rawErrorMessage": [
"Credentials not found"
]
},
"n8nDetails": {
"nodeName": "When fetching a dataset row",
"nodeType": "n8n-nodes-base.evaluationTrigger",
"nodeVersion": 4.6,
"time": "5/30/2025, 11:46:48 AM",
"n8nVersion": "1.95.1 (Self Hosted)",
"binaryDataMode": "default",
"stackTrace": [
"NodeApiError: Credentials not found",
" at ExecuteContext.apiRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/Google/Sheet/v2/transport/index.ts:78:9)",
" at processTicksAndRejections (node:internal/process/task_queues:95:5)",
" at GoogleSheet.spreadsheetGetSheet (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheet.ts:129:21)",
" at ExecuteContext.getSheet (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/Evaluation/utils/evaluationTriggerUtils.ts:22:9)",
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/Evaluation/EvaluationTrigger/EvaluationTrigger.node.ee.ts:130:23)",
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1185:9)",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1534:27",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2098:11"
]
}
}

Running this from the editor tab directly works fine. From the video showcasing this feature I notice you don't configure a credential, I must configure a credential. Also you use a url, I use "From List".

Please let me know if you need more info in order to investigate.

To Reproduce

Follow the steps from the docs / video.

Expected behavior

Tests run , metrics become visible.

Operating System

k8s/docker

n8n Version

v1.95.1

Node.js Version

v20.x

Database

PostgreSQL

Execution mode

queue

@Joffcom
Copy link
Member

Joffcom commented May 30, 2025

Hey @cblokland90,

We have created an internal ticket to look into this which we will be tracking as "GHC-2262"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label May 30, 2025
@Joffcom
Copy link
Member

Joffcom commented May 30, 2025

Hey @cblokland90,

The error mentions there is no credential found, Do you have one set?

@Joffcom Joffcom added the Needs Feedback Waiting for further input or clarification. label May 30, 2025
@cblokland90
Copy link
Author

Yes, and its working when running manually. It only doesnt work when using the button from the Evaluations tab.

@Joffcom Joffcom removed the Needs Feedback Waiting for further input or clarification. label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants