400 Bad request calling PATCH /system/admin/v1/Settings in VIP AuthHub
search cancel

400 Bad request calling PATCH /system/admin/v1/Settings in VIP AuthHub

book

Article ID: 267374

calendar_today

Updated On:

Products

VIP Authentication Hub

Issue/Introduction

 

When running the REST API command

    PATCH https://_host._domain._com/system/admin/v1/Settings

      Body:

      [
       { 
         "name":" otpValidityPeriodSeconds",
         "value":"30"
       }
      ]

then the browser gets error 400:

     400 "Bad request"

 

Environment

 

  VIP AuthHub 3211;

 

Resolution

 

Replay the command using the URL

PATCH https://{{sspHost}}/{{apiPathTenant}}/admin/v1/Configs

with the value of "otpValidityPeriodSeconds" without space to solve this issue.