set 405 method not allowed when the user has reached the
max allowed number of measures

Change-Id: Idbb3b61a3bc1de1a53832f4338b3ae3f791b57a7