Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

Authentication error using API


This Curl command:

curl -H “Content-Type: application/json” -u "" “

yields “error”:“Authentication failed: invalid or missing user/password or session cookie.”

Need help getting this request to work using Curl.


Hi Justin,

Thanks for your posting! Please make sure you have the API enabled on Administration > Site Settings > API and that you use the correct username (email address) and password (or API key if you added any on My Settings).



Hey @tgurock Where will i get My setting and Please would you step down step by step for same error because I facing same issue I did also saving the API setting , but did not worked for me
And nearer to Deadline so need help badly


i got the End result Instead of password I have to add Key