Add debug code to find out what the actual value is that gets rejected by AWS as I can't reproduce it locally