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
Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Bug Report
Error Description
If there are more than one page of base path mappings (ApiMappings), there is a chance the sls remove will fail if the target mapping is not in first page returned from aws apigateway v2 getApiMappings().
Community Note
Bug Report
Error Description
If there are more than one page of base path mappings (ApiMappings), there is a chance the sls remove will fail if the target mapping is not in first page returned from aws apigateway v2 getApiMappings().
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ApiGatewayV2.html#getApiMappings-property
The bug is not handling the NextToken in the response, so only works with items returned in first page.
Command Run
SLS_DEBUG=* sls remove
Console Output
Domain Manager Configuration
Replace this with your own
serverless.yml
file (anonymized, of course) to help us better resolve your issue.Versions
Possible Solution
We should check the NextToken in the response, and iterate until the end of pages.
Additional context/Screenshots
The text was updated successfully, but these errors were encountered: