Expected undefined to be an object

I’m getting this error can any one help
i tried multiple times with exact steps

Used variables | AssertionError: Target cannot be null or undefined.
Authorized requests | AssertionError: expected undefined to be an object

Undefined means that its can’t find the expected object. (Null means that its found the object but it has no value).

Check back over the instructions for how it tells you to setup the authorization.

It needs to be set at the collection, not the request.

Also check what variables it asks you to create. The test is looking for “{{” in the request body so I suspect its checking that you’ve setup an environment or collection variable and are using that in the request params.

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