# HTTP Response Codes

The Lineaje GOS Artifactory Proxy returns standard HTTP status codes. The following table describes each code, its meaning, and the recommended action for your build pipeline.

| **HTTP Status**           | **Meaning**                                                                                                                                                       | **Package Managers** | **Action Required**                                                                                                                                                                            |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200 OK                    | Package is Gold Open Source and all policies passed. Artifact is streamed to the build tool.                                                                      | Maven, PyPI, npm     | No action required. Build proceeds normally.                                                                                                                                                   |
| 401 Unauthorized          | Request is missing credentials or the credentials are invalid.                                                                                                    | Maven, PyPI, npm     | Verify ARTIFACTORY\_CREDS is correctly configured and the credential ID matches exactly.                                                                                                       |
| 403 Forbidden             | Package is not Gold Open Source or a custom policy has blocked the download (enforce mode only).                                                                  | Maven                | Review the 'Policies violated' message in the build logs. Upgrade to a Gold-qualified version or request a policy exemption via the Lineaje platform.                                          |
| 404 Not Found             | Package is not Gold Open Source or a custom policy has blocked the download (enforce mode only). Also returned when the package/version genuinely does not exist. | PyPI, npm            | <p>Same as 403 Forbidden. Distinguish from a genuine 404 by checking for 'Policies violated' in the response body. </p><p>PyPI and npm package managers only recognize 404 for violations.</p> |
| 500 Internal Server Error | Package has not yet been analyzed by Lineaje. The package has been submitted for analysis.                                                                        | Maven, PyPI, npm     | Re-trigger the build after 5 to 10 minutes. If the error persists, contact Lineaje support.                                                                                                    |

{% hint style="info" %}
In Observe mode, the Firewall always returns 200 for valid packages, regardless of GOS status. Policy violation details are still logged to the Lineaje platform.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.veedna.com/gold-open-source-gos/gold-catalog/oss-packages/integrating-lineaje-gos-artifactory-proxy-into-your-ci-cd-pipeline/http-response-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
