---
title: "401 Unauthorized error message on $Batch endpoint"
description: "For a while, batch http requests to api/v1/$batch have failed with 401-Unauthorized."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2022-02-22-401-unauthorized-error-message-on-batch-endpoint/index.md
lastmod: 2022-02-22
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/llms.txt


# 401 Unauthorized error message on $Batch endpoint

Last modified February 22, 2022

2022-02-22


Label: api:architecture


Version: 8.85



For a while, batch http requests to api/v1/$batch have failed with 401-Unauthorized. The workaround has been to set authentication and authorization headers on every sub request. This has now been fixed so that all headers from main request will be copied to every sub request if they are not already present.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2022-02-22-401-unauthorized-error-message-on-batch-endpoint/)
