Why am I getting the "Unauthorized" error?
This error indicates Shopify is refusing to make modifications because the current user does not have the permissions to do so.
Make sure that you are logged into your shopify admin panel, and that your user have the neccessary permissions to make edits to the store.