I am trying to access AWS lending API using postman, but I am getting following error:
My postman setup is below:
And my IAM user setup is below:
Your current setup only allows the role AmazonLendingAPIRole
to access the API. You are accessing the API using the user AmazonLendingUser
which only has access to assume the role. What you need to do is attach the policy allowing the execute-api
permissions directly to your user to allow the access through.
More information can be found in the following documentation.