Check with FXCM. Maybe you have no permission for API trading.