If a S3PostUploadSignedPolicy is assigned, then values set (other than InputStream or Path) on this object must adhere to the policy. This includes metadata. If metadata is specified in the policy, then it must be included in the request. Adding metadata not in the policy will cause the POST to fail.
For more information,