Flesh and oil in small amounts are non-toxic — high fat can upset stomach. Never the shell (obstruction).
Small amounts of flesh are unlikely to harm, but coconut water is high in potassium — avoid. Generally skip it.
Non-toxic but fatty; species-specific caveats on coconut water.