[642] updated api call to not have syntax error