---
title: "Location endpoint now returns 400 instead of 500 error when request has incorrect data"
description: "Earlier, Location endpoints returned a 500 internal server error for requests containing an invalid postcode or an incorrect business account."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2024-01-16-location-endpoint-now-returns-400-instead-of-500-error-when-request-has/index.md
lastmod: 2024-01-16
---

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


# Location endpoint now returns 400 instead of 500 error when request has incorrect data

Last modified January 16, 2024

2024-01-16


Label: api


Version: 9.77



Earlier, Location endpoints returned a 500 internal server error for requests containing an invalid postcode or an incorrect business account. This has now been corrected so that a 400 bad request error will be returned in these situations.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2024-01-16-location-endpoint-now-returns-400-instead-of-500-error-when-request-has/)
