Delete base path mapping in API Gateway doesn't work

1

I have manually updated our custom domain name to associate with a base path mapping to our lamdba function in API Gateway, but if I try to undo or remove the base path mapping by clicking the little trash can icon to the right of the base path mapping, it doesn't work. It appears the trash can icon doesn't work and this seems like a bug and there is no way to remove the base path mapping via the UI (Chrome Version 57.0.2987.133 (64-bit)).

demandé il y a 7 ans3831 vues
4 réponses
1

This appears to be fixed in the console, and you can delete with AWS CLI using

aws apigateway delete-base-path-mapping --domain-name foo.com --base-path "(none)"

However, it still appears to be completely broken in CloudFormation and causing us issues, too.

répondu il y a 7 ans
0

Thanks for reporting this, we'll fix it as soon as possible.

répondu il y a 7 ans
0

Any word on this? Our base path mappings won't delete either.

(edit) when I click the trashcan this is in the javascript console:

Uncaught TypeError: Cannot read property 'delete' of undefined
at t.n.handleDeleteButtonClick (BasePathMappingTableDetail.jsx:44)
at onClick (BasePathMappingTableDetail.jsx:93)
at HTMLElement.wrappedCb (createClass.js:47)
at o (components.js:173)
at Object.t [as __fireEvent] (components.js:153)
at Object.click (components.js:2521)
at HTMLButtonElement.r (components.js:2592)
at HTMLButtonElement.<anonymous> (components.js:1316)

Edited by: m_ohrt on May 5, 2017 12:21 PM

m_ohrt
répondu il y a 7 ans
0

I have the same problem, can't delete base path mappings in the console, with AWS CLI or with CloudFormation. It's bad because it gets CloudFormation stacks stuck.

kennu
répondu il y a 7 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions