You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue which I am facing in both V2 & V3
i have template.csv sample downloaded from AWS and have some data in it.
I am trying to import this file user data to AWS cognito user pool using the method createImportJob
Creating CognitoIdentityServiceProvider
Using the createUserImportJobCommand with params: JobName, UserPoolId, CloudWatchLogsRoleArn.
Send the command using CognitoIdentityProviderClient
Get PreSignedUrl from the response.
call Put (by fetch, postman) with header 'Content-Type': 'text/csv'. when the URL is valid and not expired but i always got 403 SignatureDoesNotMatch
The request signature we calculated does not match the signature you provided. Check your key and signing method.
In the response error message XML the AWSAccessKeyId has different values everytime and not match my AWSAccessKeyId which I am passing in configuration to CognitoIdentityProviderClient.
What will be the problem with my code and the solution to this problem?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Issue which I am facing in both V2 & V3
i have template.csv sample downloaded from AWS and have some data in it.
I am trying to import this file user data to AWS cognito user pool using the method createImportJob
Creating CognitoIdentityServiceProvider
Using the createUserImportJobCommand with params: JobName, UserPoolId, CloudWatchLogsRoleArn.
Send the command using CognitoIdentityProviderClient
Get PreSignedUrl from the response.
call Put (by fetch, postman) with header 'Content-Type': 'text/csv'. when the URL is valid and not expired but i always got 403 SignatureDoesNotMatch
The request signature we calculated does not match the signature you provided. Check your key and signing method.
In the response error message XML the AWSAccessKeyId has different values everytime and not match my AWSAccessKeyId which I am passing in configuration to CognitoIdentityProviderClient.
What will be the problem with my code and the solution to this problem?
Beta Was this translation helpful? Give feedback.
All reactions