---
title: "Response Status Codes"
description: "Look up what each response status code means when you write, retrieve, or search Activity Records in Netwrix Auditor, including success and error codes."
sidebar_position: 100
---

# Response Status Codes

| Code                         | Status  | Write Activity Records                                                                                                                                                                                                          | Retrieve, search Activity Records                                                                                                                                                                                                                                                           |
| ---------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200 OK                       | Success | Success. The body is empty. Activity Records were written to the Audit Database and the Long-Term Archive.                                                                                                                      | Success. The body contains Activity Records. Activity Records were retrieved from the Audit Database.                                                                                                                                                                                       |
| 400 Bad Request              | Error   | Error validating Activity Records. Ensure the Activity Records are compatible with the [Schema](postdata/activityrecords.md#schema).                                                                                         | Error validating request parameters or post data. ensure the post data files (Continuation mark, Search parameters) are compatible with their schemas and the `?count=` parameter is valid.                                                                                              |
| 401 Unauthorized             | Error   | The request is unauthorized and the body is empty. See [API Endpoints](/docs/auditor/10.9/integrations/api/endpoints.md) for more information.                                                                                               |                                                                                                                                                                                                                                                                                             |
| 404 Not Found                | Error   | Error addressing the endpoint. The body is empty. The requested endpoint doesn't exist (e.g., /netwrix/api/v1/mynewendpoint/).                                                                                                 |                                                                                                                                                                                                                                                                                             |
| 405 Method Not Allowed       | Error   | Error addressing the endpoint. The body is empty. The client sent the wrong HTTP request (any except POST).                                                                                                                                | Error addressing the endpoint. The body is empty. The client sent the wrong HTTP request (any except GET or POST).                                                                                                                                                                                     |
| 413 Request Entity Too Large | Error   | Error transferring files. The body is empty. The posted file exceeds supported size.                                                                                                                                            |                                                                                                                                                                                                                                                                                             |
| 500 Internal Server Error    | Error   | Error writing Activity Records to the Audit Database or the Long-Term Archive: <ul><li>The server didn't process one or more Activity Records.</li><li>Netwrix Auditor license has expired.</li><li>Internal error occurred.</li></ul> | Error retrieving Activity Records from the Audit Database: <ul><li>Netwrix Auditor license has expired.</li><li>The Netwrix Auditor Archive Service is unreachable. Try restarting the service on the computer that hosts Netwrix Auditor Server.</li><li>Internal error occurred.</li></ul> |
| 503 Service Unavailable      | Error   | The Netwrix Auditor Archive Service is busy or unreachable. Try restarting the service on the computer that hosts Netwrix Auditor Server.                                                                                       | —                                                                                                                                                                                                                                                                                           |


Most failed requests contain error in the response body (except those with empty body, e.g., 404,
405). [Error Details](/docs/auditor/10.9/integrations/api/errordetails.md)
