This message was posted by a user wishing to remain anonymous
Most likely due to aflatoxins or other mycotoxins from the grain or from the environment while storing. Each animal has a tolerance level, so you would want to know what animals your farmer is feeding and then ensure your spent grain is under that level (you mentioned cattle, but its best to confirm that is all he is feeding with the spent grain). Levels of aflatoxins can be ensured by the grain supplier (usually tracked to prevent gushing) upon receipt so you don't have to test your spent grain so often.
Your storage conditions however could also contribute to mold growth if left out and exposed to the elements. You will want to monitor storage conditions too, ensuring there is no potential mold growth or other contamination occurs while waiting for pick up.
The container used to ship the product could also be the source of contamination. Should inspect container/trailer prior to loading for potential hazards and ensure the container/trailer did not transport prohibited animal product protein and/or products not approved for use in animal feed prior to loading with spent grain.
Check the COA from the grain supplier to see what the limits were for aflatoxin, it would help determine where in the process the issue began. It will also help you determine if the issue will be present in the beer.