POST submit error in Collection Test

I am doing the Postman API Fundamentals Student Expert certification from Postman Academy
I am in the final step of Submitting my postman collection and followed exactly the instructions given in the course

But in the last stage I am getting an error which I can’t figure the meaning of.
What is the meaning of this error and how can I resolve this?


“errors”: [
{
“test”: “[COLLECTION] Collection level Auth is set to type API Key with header named api-key”,
“message”: “Cannot read properties of undefined (reading ‘type’)”
},
{
“test”: “4. [skillcheck] Set request auth to “API key” & header to “student-expert"”,
“message”: “Cannot read properties of undefined (reading ‘type’)”
}

The error is telling you what is wrong.

The API key should be set at the collection level. You appear to have it on the submit request.

Thanks now the error is fixed.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.