When I try to disable strip_listen_path in the Dashboard and save the API it always reverts back to enabled without any error message. Is this a bug or am I doing something wrong? (we’re using 5.8.2 for both dashboard and gateways)
Hey Markus,
Thanks for raising the issue.
Could you please check if TYK_DB_FORCEAPIDEFAULTS (or force_api_defaults in tyk_analytics.conf) is enabled (set to true)?
If so, kindly disable it, restart your Dashboard, and see if the issue persists.
Best,
Andres
thank you for your reply. force_api_defaults was indeed set to true in the config file. setting it to false resolved the issue. what is the intent behind this setting? I couldn’t find a reference to it in documentation
regards,
marksu
Hey Markus,
Glad to hear that resolved it.
force_api_defaults is a legacy setting, which is why it’s not documented publicly.
Fortunately, this is already in the process of being removed/deprecated to avoid confusion and unexpected behavior from inadvertently enabling it.
Best,
Andres