A 401 "Unauthorized" error is a webserver’s code for:
"You lack the credentials for this."
You have requested something of a secure endpoint but you lacked the authorization to do so.