HTTP 4xx return codes are classified as "client errors". Since the problem lies on server side, wouldn't it make more sense to return 501 Not Implemented instead?