Please I need a help concerning my assignment #5 as I’m getting this error after including my API Key correctly
'AssertionError: expected ‘\n\n\n\n\n\n\n<html\n …’ to include ‘postman login --with-api-key’
The field that you included your API Key correctly in. You can see from the assertion message that it’s also included some extra characters, maybe fro you copy and pasting that from a different place.
Hi @danny-dainton, I have tried what you suggested and I’m still getting an error. I even tried generating a new API key few times, copied and pasted it while making sure there was no space included but unsuccessful. Is there any other way I should try? Many thanks,
Can you follow the instructions on this page. Specifically, I want you to use the collection runner to generate an API key by selecting the ‘Automate runs via CLI’ option. Here, you can automatically generate the full code which includes a valid API key and copy and paste that on your command line.
Hi @gbadebo-bello , I have tried what you suggested but I’m still getting errors. I even tried starting from the scratch, recreating a repository and setting a secret for the API key. I’ve watched the clip and followed the instruction very carefully but I’m still getting the errors. Please help. Many thanks,
I was mainly focused on troubleshooting the issue, assuming it was related to the API. However, it turned out that the problem was with the URL/link of my project. After carefully going through the console. I duplicated the section that was already mentioned in the script. Hope it helps anyone that’s facing the same issue =)
After completing the ‘Postman API Automation for Beginners’ course, what’s the next step for someone who’s started learning Postman? Any suggestions would be appreciated.