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
I think this is happening because endpoints and route throttling settings are distinct entities in API Gateway. It means that, when an endpoint path is removed or renamed, the route settings remain behind.
After you renamed your httpApi path, the throttling route defined for your old /world path stayed. When the plugin called API Gateway's updateStage to add the new /world2 route with its throttling settings, it failed because API Gateway expected it to include /world throttling settings.
Currently, you can fix the issue by manually removing your /world route settings. The plugin will then be able to create throttling settings for the new /world2 route:
As for a long term solution, I'm not sure yet. One way, I suppose, would be to make this plugin clean up routes before it tries defining throttling settings. I don't support this solution, because it wouldn't really know what it was cleaning up.
Take this for example
deploy this, works fine, then do this:
and I get the following error:
Unable to find Route by key GET /world within the provided RouteSettings
Disable the extension and deployment succeeds.
The text was updated successfully, but these errors were encountered: