I am running into an issue with Assignment #2, I have change the Current Value to my generated API key for the collection, but when I try to run Create an Order, itās saying invalid API and giving a 403 not authorized response.
I have tried creating a new API key, and I have tried using the same API key I used on Assignment #1, I donāt know what else to try at this point or what oversight I am making.
When I run the test individually it fails, and when I run verify your work, everything passes except Create a new order. Any thoughts as to where I am getting hung up? Thanks!
I did try the token that is generated when you register a new client, but I thought that for verification of the assignment it needed the Postman API specifically?
Either way, I tried that again and I got the following response body:
{
āerrorā: {
ānameā: āAuthenticationErrorā,
āmessageā: āInvalid API Key. Every request requires a valid API Key to be sent.ā
Also, none of the tests ran and I got this error:
There was an error in evaluating the test script: TypeError: Cannot read properties of undefined (reading āitemā)
If I use the Postman API the tests will run and 10/11 pass, just the create new order fails. I am trying to apply both the Postman API and the Register New Client token in the Collection Variables of Assignment 2.