Error on Publish the products but the reports only saying errors count 1 but does not indicate what errors.

 

Hi I having issue on Error on Publish the products but the reports only saying errors count 1 but does not indicate what errors.


Test report for version 1.0

Validation state: Validation completed with errors

  • Errors count1
  • Started2026.04.24 12:45:53
  • Finished2026.04.24 13:14:03
  • TypeExpert Advisor

test on EURUSD,H1 (netting) there are no trading operations test on XAUUSD,D1 (netting) log files size exceeded 2049 MB, test terminated Anyone got any idea?

 
Sua Kai Young:

Hi I having issue on Error on Publish the products but the reports only saying errors count 1 but does not indicate what errors.


Test report for version 1.0

Validation state: Validation completed with errors

  • Errors count1
  • Started2026.04.24 12:45:53
  • Finished2026.04.24 13:14:03
  • TypeExpert Advisor

test on EURUSD,H1 (netting) there are no trading operations test on XAUUSD,D1 (netting) log files size exceeded 2049 MB, test terminated Anyone got any idea?

Without seeing your code, we can only guess. Here are some tips:

Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market
Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market
  • 2017.08.07
  • www.mql5.com
If you're distributing some products for MetaTrader 4/5 via the Market, you probably know that a special "welcome" stage of automatic product validation has been added recently by MetaQuotes on the
 
Sua Kai Young:
Hi I having issue on Error on Publish the products but the reports only saying errors count 1 but does not indicate what errors.

You must see this:

test on EURUSD,H1 (netting)
there are no trading operations
test on XAUUSD,D1 (netting)
log files size exceeded 2049 MB, test terminated
 
Sua Kai Young:

Hi I having issue on Error on Publish the products but the reports only saying errors count 1 but does not indicate what errors.


Test report for version 1.0

Validation state: Validation completed with errors

  • Errors count1
  • Started2026.04.24 12:45:53
  • Finished2026.04.24 13:14:03
  • TypeExpert Advisor

test on EURUSD,H1 (netting) there are no trading operations test on XAUUSD,D1 (netting) log files size exceeded 2049 MB, test terminated Anyone got any idea?

Yes it does.

You are filling the log file with more then 2 GB of data, it's not allowed.

 
Hmm, let me guess... The OP's code is modifying orders/positions upon the arrival of every tick. The usual culprit is a tick-based trailing stop.
 
Alain Verleyen #:

Yes it does.

You are filling the log file with more then 2 GB of data, it's not allowed.

There’s your answer right there—the EA is generating logs that exceed the maximum allowed limit.
 
Marsel #:

You must see this:

Hello, easy fix.

Get rid of "Print()" statements on the OnTick function, or OnTimer function. That usually causes the log file to exceed 2GB.

For the "no trading operations", make sure that your code has inputs in the first place eg

input double lotSize;

should be:

input double lotSize = 1;