On 2024/01/04 14:00:08 tison wrote:
> Hi,
> 
> When deploying artifacts to Nexus repository, 400 Bad Request can be
> one of the most confusing error code. See [1] as an example.
> 
> Sonatype has a page to document some common causes of 400 Bad Request
> [2]. But I wonder if we can return an error message (diagnostic) along
> with the error code, so that users can get what conditions broken
> exactly.
> 
> I suppose it has been discussed before. Is there any reference about
> this? What is the related components / code I can check for potential
> contributions (fixes)?
> 
> Best,
> tison.
> 
> [1] https://issues.apache.org/jira/browse/INFRA-25344
> [2] https://central.sonatype.org/faq/400-error/

Looking at the INFRA issue it seems that 400 is just wrong. There is not client 
issue here, but a permission issue which should give you 403. Maybe that is a 
bug in Nexus itself.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to