We are trying to amend the current settings for HSTS max value using Cloudflare api as documented here at api[dot]Cloudflare[dot]com[slash]#zone-settings-change-rocket-loader-setting
We can successfully read those settings using the GET endpoint, but when we try to patch them with the same exact payload shown in the docs, we get back this error
{
“result”: {
“id”: “security_header”,
“modified_on”: “2022-01-18T10:48:47.199837Z”,
“value”: {
“strict_transport_security”: {
“enabled”: true,
“max_age”: 14400,
“include_subdomains”: true,
“preload”: true,
“nosniff”: true
}
},
“editable”: true
},
“success”: true,
“errors”: ,
“messages”:
}
essentially the issue is the same reported here in another community topic (hsts-configuration-1051-error, topic id 131051)
unfortunately the topic seems still unanswered
any help would be greatly appreciated
thanks