Strange thing with Oanda API

Hi folks!

Can anyone help me to clear a thing.
I have wrote a java code just for testing Oanda API and got a strange thing.
When I create a limit BUY order (i.e. units are positive) I receive a MARKET order instead.
But when I create a SELL limit order (units are negative) it works and I get SELL limit order
at oanda.fxpractice. Pls find the java code below:
package t2;

import com.oanda.v20.Context;
import com.oanda.v20.ContextBuilder;
import com.oanda.v20.account.AccountID;
import com.oanda.v20.account.AccountSummary;
import java.util.List;
import com.oanda.v20.account.Account;
import com.oanda.v20.account.AccountGetResponse;
import com.oanda.v20.account.AccountListResponse;
import com.oanda.v20.account.AccountProperties;
import com.oanda.v20.order.LimitOrderRequest;
import com.oanda.v20.order.OrderCreateRequest;
import com.oanda.v20.order.OrderCreateResponse;
import com.oanda.v20.primitives.InstrumentName;
import com.oanda.v20.trade.TradeCloseRequest;
import com.oanda.v20.trade.TradeCloseResponse;
import com.oanda.v20.trade.TradeSpecifier;
import com.oanda.v20.transaction.OrderFillTransaction;
import com.oanda.v20.transaction.TradeReduce;
import com.oanda.v20.transaction.TransactionID;
import java.util.Arrays;

import com.oanda.v20.ExecuteException;
import com.oanda.v20.RequestException;

import com.oanda.v20.account.AccountConfigure400RequestException;
import com.oanda.v20.account.AccountConfigureResponse;

import com.oanda.v20.order.MarketOrderRequest;
import com.oanda.v20.order.Order;

import com.oanda.v20.order.OrderID;
import com.oanda.v20.order.OrderReplace400RequestException;
import com.oanda.v20.order.OrderReplaceRequest;
import com.oanda.v20.order.OrderReplaceResponse;
import com.oanda.v20.order.OrderSpecifier;
import com.oanda.v20.order.OrderState;
import com.oanda.v20.order.OrderType;
import com.oanda.v20.order.StopOrderRequest;
import com.oanda.v20.position.Position;
import com.oanda.v20.position.PositionCloseRequest;
import com.oanda.v20.pricing.ClientPrice;
import com.oanda.v20.primitives.Instrument;

import com.oanda.v20.trade.Trade;

import com.oanda.v20.trade.TradeSetClientExtensionsRequest;
import com.oanda.v20.trade.TradeSetDependentOrdersRequest;

import com.oanda.v20.trade.TradeState;
import com.oanda.v20.transaction.ClientExtensions;
import com.oanda.v20.transaction.OrderCancelTransaction;

import com.oanda.v20.transaction.TakeProfitDetails;
import com.oanda.v20.transaction.TakeProfitOrderTransaction;
import com.oanda.v20.transaction.TradeClientExtensionsModifyTransaction;

import com.oanda.v20.transaction.Transaction;

import com.oanda.v20.transaction.TransactionType;

public class test2 {

public static void main(String[] args) {
	

	Context ctx = new ContextBuilder("https://api-fxpractice.oanda.com")
    		.setToken("c698fa2447cf79-----f23606d01ecfe178c4046a6e31")
    		.setApplication("test2")
    		.build();
	final AccountID accountID  = new AccountID("-----");  

// double units;
// double cprice = 1.207;

// double profit = 0.0005;
// double takeProfit;
// double orderprice;
try {
AccountSummary summary = ctx.account.summary(
new AccountID(accountID)).getAccount();
System.out.println(summary);
} catch (Exception e) {e.printStackTrace();}

	System.out.println("Place a Limit Order");

    try {

// positive - create BUY LIMIT order - doesnt work, create MARKET order

    	OrderCreateRequest request = new OrderCreateRequest(accountID);
        LimitOrderRequest limitorderrequest = new LimitOrderRequest();
        limitorderrequest.setInstrument("EUR_USD");
        limitorderrequest.setUnits(700);
        limitorderrequest.setPrice(1.207);
        limitorderrequest.setTakeProfitOnFill(new TakeProfitDetails().setPrice(1.2075));
        request.setOrder(limitorderrequest);
        OrderCreateResponse response = ctx.order.create(request);
        OrderFillTransaction transaction = response.getOrderFillTransaction();

//negative - correctly create SELL LIMIT order

        limitorderrequest.setInstrument("EUR_USD");
        limitorderrequest.setUnits(-700);
        limitorderrequest.setPrice(1.207);
        limitorderrequest.setTakeProfitOnFill(new TakeProfitDetails().setPrice(1.2075));
        request.setOrder(limitorderrequest);
        response = ctx.order.create(request);
        transaction = response.getOrderFillTransaction();
        System.out.println(transaction);
        System.out.println(limitorderrequest);

    	
    } catch (Exception e) {
        throw new RuntimeException(e);
    }

// List orders = ctx.order.listPending(accountID).getOrders();
// System.out.println(orders);

}

}
Can anyone please help me and explain the reason?