The input authorization token can't serve the request. The wrong key is being used or the expected payload is not built as per the protocol.

Aadi 0 Reputation points
2023-09-17T23:25:39.7366667+00:00

Hi all engineers, hoping to get some assistance on above error. Looks like permission issue.

Created a user and assigned the role however, when the user is trying to modify the code, getting an error. If anyone in this channel has any solution, it would be greatly appreciated. thanks

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,477 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. ShaktiSingh-MSFT 14,081 Reputation points Microsoft Employee
    2023-09-18T09:46:45.3333333+00:00

    Hi
    Aadi
    •,

    Welcome to Microsoft Q&A forum.

    As I understand, the input authorization token can't serve the request. The wrong key is being used or the expected payload is not built as per the protocol error.

    Could you please share more information about the API of the Azure Cosmos DB, how keys are created and id stored in Key Vault?

    Code sample would help to understand the issue.

    Also, if this code has "resourceLink", try to change it to "resourceId" and see if this works.

    Please share all important information to enable us to assist you.

    Thanks