I have raised with two errors in Student Expert Skill Check

While completing the final step
I got these errors

1)Used GET, POST, PUT, DELETE methods | AssertionError: expected [ ‘GET’, ‘POST’, ‘POST’, ‘POST’ ] to be a superset of [ ‘GET’, ‘POST’, ‘PUT’, ‘DELETE’ ]

2)Used query and path parameters | AssertionError: expected to have a length above 0 but got 0

Please help me to clear these errors.

You have 3 POST requests in the first folder, that doesn’t look right as you should also have a PUT and a DELETE in there.

Your best approach to debug what is happening is to work through the training again, reading everything that is returned in the response body and carrying out that action before moving forward.

It’s easy for people who are familiar with the Collection or have completed the training to give you the answers but that really isn’t going to help you learn.

You’ll benefit more from debugging this from your side.

1 Like

Thanks @dannydainton
I have solved error 1, But there is no idea about error 2
Can you please help me??

Did you work through the folders again and ensure that the scenarios that call for either path or query parameters to be there, are completed?

I can see from your image that you haven’t followed the steps correctly on the first folder, if you did, you would have more requests and the methods would match the names. :grin:

I have found where the error occurred.
Also, I’m stuck here could you help me @dannydainton

Can you please guide me to pass this step??

You need to get the id of the match that you added in the previous step (Looking at the request that shows all the matches will help here), once you have that id, add it as the parameter value for this request.

I have completed it but in next step it rises the same error

@dannydainton Can you help me??

If you read the instructions, it says to add this as a path variable (replace :match_id) not a query parameter.

You will be a 100% more confident in what you’re doing, if you attempt to debug these issues yourself. :grin:

1 Like

:sweat_smile:
Thank you so much
I have successfully completed my Skill Check