throws in doc header always 500