Problem :
While using Logic App DocumentDB Connector (Get a Document), there are chances to get following error.
"code": "Unauthorized", "message": "The input authorization token can't serve the request. Please check that the expected payload is built as per the protocol, and check the key being used. Server used the following payload to sign:
Cause : It may be because of two reasons,
1. Logic App and DocumentDB may be in the different Regions (or time zones).
2. DocumentID which is being supplied contains some characters like #,{,^ etc which is not supported in documentID.
Unfortunately while inserting it doesn't throw error , but while extracting it throws.
Resolution:
Correct DocumentID remove unwanted characters example #,{,^