LogDerivedDataCache:Warning: Shared data cache path was not usable, will not use it

What are the potential causes of this error?

Turns out this was a network access issue. Had to setup a net use with /USER parameters that had access to the drive in the batch file.
Then modify UE-SharedDataCachePath to point to the temporary drive.
Hope that helps someone else.