Error in the submission

{
“status”: “error”,
“message”: “Your collection failed one or more Postman tests. See the errors array for details.”,
“errors”: [
{
“test”: “1. [skillcheck] Used POST as the request method”,
“message”: “Cannot read properties of undefined (reading ‘request’)”
},
{
“test”: “2. [skillcheck] Used a query parameter called ‘movieName’”,
“message”: “Cannot read properties of undefined (reading ‘request’)”
},
{
“test”: “3. [skillcheck] Used a base URL variable called {{skillcheckBaseUrl}}”,
“message”: “Cannot read properties of undefined (reading ‘request’)”
},
{
“test”: “4. [skillcheck] Set request auth to “API key” & header to “student-expert"”,
“message”: “Cannot read properties of undefined (reading ‘request’)”
},
{
“test”: "5. [skillcheck] Used a JSON body with 'actorName; ",
“message”: “Cannot read properties of undefined (reading ‘request’)”
},
{
“test”: “6. [skillcheck] Set "favoriteActor" as a collection variable using pm.collectionVariables set(…) in Tests tab script”,
“message”: “Cannot read properties of undefined (reading ‘event’)”
}
]
}

This is the error that I am facing, can someone please, tell me how to solve it!

You haven’t said which course you are trying to submit.

However, it’s failing all of the tests, so it will probably be one of two issues.

  1. You haven’t set the authentication correct for the collection.
  2. You haven’t named the request correctly.

I’m assuming this is one of the starter courses, which aren’t meant to catch you out.

My recommendation would be to go back over the documentation and pay special attention to the naming of any elements it tells you to create, and to also double check the instructions in relation to authentication for the submit request.

If you need further help, please post screenshots of your request and folder structure, and details on which course this is.

If you do need to post code to the forums, please use the preformatted text option in the editor which will keep the formatted and prevent everything from being aligned to the left (which is usually very hard to read).