aws-sdk-go icon indicating copy to clipboard operation
aws-sdk-go copied to clipboard

Input paramter MaxResults is not working properly in ListIdentityProviderConfigsPages API

Open bigdatasourav opened this issue 2 years ago • 2 comments

Describe the bug

As per the documentation the maximum value for input parameter MaxResults is 100 in the ListIdentityProviderConfigsPages API call. However, at the time of execution, it generates the below error.

Error: InvalidParameterException: maxResults needs to be 1
{
  RespMetadata: {
    StatusCode: 400,
    RequestID: "77e1f652-1042-4540-87f1-d24192f3c6ef"
  },
  Message_: "maxResults needs to be 1"

Expected Behavior

The API should work with MaxResults 100.

Current Behavior

The API is not working with MaxResults 100.

Reproduction Steps

Execute the API with MaxResults 100

Possible Solution

No response

Additional Information/Context

No response

SDK version used

v1.44.43

Environment details (Version of Go (go version)? OS name and version, etc.)

go v1.18

bigdatasourav avatar Jun 28 '22 14:06 bigdatasourav

Hi, is there a sample of reproducible code that we can use to see how you got the error above?

vudh1 avatar Jul 13 '22 18:07 vudh1

@vudh1 Code reference

bigdatasourav avatar Jul 14 '22 04:07 bigdatasourav