Problem statement
We are trying to use the Deploy CLI to change the Session Cookie Mode for our tenant to ‘Non-Persistent Session’, and when doing an import with the following tenant.json file:
{
"session_cookie": {
"mode": "non-persistent"
}
}
We get the following error:
Bad Request: Payload validation error: 'Too few properties defined (0), minimum 1' on property flags (Flags used to change the behavior of this tenant).
Cause
Solution
If you are seeing this error, check to make use you are using a version of the Deploy CLI that is > v.7.17.2.