Its a bug that was reported few years ago that hasn’t been patched.
If it includes characters \ / | - _ , API processing of custom data will try to convert it into date.
I cant remember how I bypassed that off the top of my head when doing PMS integration, I will look into the code and entity type custom data settings and get back to you when I have a moment