[MINORFIX] Change the error code for 500

Signed-off-by: Kayo Hamid <kayo@bvcupons.com.br>