Fix error code to allow 2XX