PLATFORM-390 Checked ruby fix for 402