fixing error where access key request was flattened, causing failure