cancel
Showing results for 
Search instead for 
Did you mean: 

Why does Nuxeo send 303 See Other after API deletes, where the target returns 500 Server Error?

Steven_Huwig1
Star Contributor
Star Contributor

Hi,

We received many spurious alerts in our monitoring system; it turns out that the HTTP client in use to access Nuxeo's REST APIs was following redirects.

It seems that after something like DELETE /nuxeo/api/v1/path/docpath, Nuxeo responds with a redirect to /nuxeo/api/v1. However, if one does a GET on this redirect, the result is a 500 error. One can see this on Nuxeo's own demo server by attempting to access http://cmis.demo.nuxeo.org/nuxeo/api/v1

Is this a small bug in Nuxeo's implementation of POST/DELETE type operations, or is this being done for a good reason? It seems to me that if no meaningful status URL can be returned in a See Other response, then something like 204 No Content is more appropriate.

Thanks, Steve

1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

Yes it's a bug. I opened NXP-17701 to track this.

View answer in original post

1 REPLY 1

Florent_Guillau
World-Class Innovator
World-Class Innovator

Yes it's a bug. I opened NXP-17701 to track this.

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.