Javascript ke cookie program ran ni ho rha local host server pe bad request 400 error aa rha hai , koi help kr do please

Javascript ke cookie program ran ni ho rha local host server pe bad request 400 error aa rha hai , koi help kr do please