Take a look at this;
Thiamine deficiency in poultry
As most feedstuffs used in poultry diets contain enough quantities of vitamins to meet the requirements in this species, deficiencies in this vitamin do not occur with commercial diets. This was, at least, the opinion in the 1960s.[41]
Mature chickens show signs 3 weeks after being fed a deficient diet. In young chicks, it can appear before 2 weeks of age.
Onset is sudden in young chicks. There is anorexia and an unsteady gait. Later on, there are locomotor signs, beginning with an apparent paralysis of the flexor of the toes. The characteristic position is called "stargazing", meaning a chick "sitting on its hocks and the head in opisthotonos".
Response to administration of the vitamin is rather quick, occurring a few hours later.[42][43]
Differential diagnosis include riboflavin deficiency and avian encephalomyelitis. In riboflavin deficiency, the "curled toes" is a characteristic symptom. Muscle tremor is typical of avian encephalomyelitis. A therapeutic diagnosis can be tried by supplementing thiamine only in the affected bird. If the animals do not respond in a few hours, thiamine deficiency can be excluded.
It may be possible that something you are feeding is blocking the uptake of thiamine - Vit B1