Limited the max. payload for upload to 1MB