Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message not showing when adding subdomain auto-detection #2926

Closed
3 tasks done
memochou1993 opened this issue Aug 12, 2022 · 2 comments
Closed
3 tasks done

Error message not showing when adding subdomain auto-detection #2926

memochou1993 opened this issue Aug 12, 2022 · 2 comments
Labels
archived This issue has been locked. question Further information is requested

Comments

@memochou1993
Copy link

memochou1993 commented Aug 12, 2022

Before opening, please confirm:

JavaScript Framework

Vue

Amplify APIs

Not applicable

Amplify Categories

Not applicable

Environment information

# Put output below this line


Describe the bug

image

Expected behavior

Showing error message

Reproduction steps

  1. Go to "Domain management"
  2. Click "Edit domain"
  3. Click "Subdomain auto-detection"
  4. Click "Update"

Code Snippet

// Put your code below this line.

Log output

main.js:1 Error during auto sub domain role creation AccessDeniedException: User: arn:aws:sts::202410387461:assumed-role/AWSReservedSSO_PowerUserAccess_8b03bb0831bce575/williamchou is not authorized to perform: iam:CreateRole on resource: arn:aws:iam::202410387461:role/service-role/AWSAmplifyDomainRole-prod-Z061264520ZKPHR8S2U7H because no identity-based policy allows the iam:CreateRole action
    at constructor.extractError (https://a.b.cdn.console.awsstatic.com/11022fed2ea55caa01871e7255e78d89d496ec90731a4fc222d5f8ea4b60e7ce/vendors~main.js:11:23830)
    at constructor.callListeners (https://a.b.cdn.console.awsstatic.com/11022fed2ea55caa01871e7255e78d89d496ec90731a4fc222d5f8ea4b60e7ce/vendors~main.js:43:28919)
    at constructor.emit (https://a.b.cdn.console.awsstatic.com/11022fed2ea55caa01871e7255e78d89d496ec90731a4fc222d5f8ea4b60e7ce/vendors~main.js:43:28629)
    at constructor.emitEvent (https://a.b.cdn.console.awsstatic.com/11022fed2ea55caa01871e7255e78d89d496ec90731a4fc222d5f8ea4b60e7ce/vendors~main.js:99:332279)
    at constructor.e (https://a.b.cdn.console.awsstatic.com/11022fed2ea55caa01871e7255e78d89d496ec90731a4fc222d5f8ea4b60e7ce/vendors~main.js:99:327830)
    at r.runTo (https://a.b.cdn.console.awsstatic.com/11022fed2ea55caa01871e7255e78d89d496ec90731a4fc222d5f8ea4b60e7ce/vendors~main.js:99:334140)
    at https://a.b.cdn.console.awsstatic.com/11022fed2ea55caa01871e7255e78d89d496ec90731a4fc222d5f8ea4b60e7ce/vendors~main.js:99:334346
    at constructor.<anonymous> (https://a.b.cdn.console.awsstatic.com/11022fed2ea55caa01871e7255e78d89d496ec90731a4fc222d5f8ea4b60e7ce/vendors~main.js:99:328100)
    at constructor.<anonymous> (https://a.b.cdn.console.awsstatic.com/11022fed2ea55caa01871e7255e78d89d496ec90731a4fc222d5f8ea4b60e7ce/vendors~main.js:99:332335)
    at constructor.callListeners (https://a.b.cdn.console.awsstatic.com/11022fed2ea55caa01871e7255e78d89d496ec90731a4fc222d5f8ea4b60e7ce/vendors~main.js:43:29025)

aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response

@nadetastic nadetastic transferred this issue from aws-amplify/amplify-js Aug 12, 2022
@ghost ghost added the question Further information is requested label Jan 25, 2023
@memochou1993 memochou1993 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 27, 2023
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

@github-actions
Copy link

This issue has been automatically locked.

@github-actions github-actions bot added the archived This issue has been locked. label Oct 27, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Oct 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked. question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant