Shift Codes closes Steam

For some reason every time I try to put in a Shift Code on Battleborn Steam immediately closes without an error message or anything, which naturally causes Battleborn to freeze. And I can’t get it to close until I restart Steam and try to play Battleborn again which causes it to realize there was an error and finally close the game. I checked if it was the system files, but Steam says they all validated properly yet the game has crashed Steam 5 times now when trying to input Shift Codes and any other time the most the game acts up is occasional lagging.

If anyone has an idea of how to fix it, then let me know. A friend looked up what it might be and he said to enable vsync, which I could do while the game was running. But even that didn’t work.