Cannot pass the list value to apigateway update-method, getting Invalid type for parameter patchOperations[2].value #3964
Labels
guidance
Question that needs advice or information.
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
I am trying to update the method
authorizationScopes
with the list value using the following command:but got this error:
Also try this command with
[]
:but also getting the same error as above.
If I set it manually from the console and get it from this command:
aws apigateway get-method --rest-api-id xxxxxxx --resource-id yyyy --http-method ANY
give me this output, which is correct:
Is this a bug, awscli limitation or I am passing it in wrong way.
Reference: https://docs.aws.amazon.com/cli/latest/reference/apigateway/update-method.html
The text was updated successfully, but these errors were encountered: