ERROR: Training Job failed, error: Expecting value: line 1 column 1 (char 0)

recently I labelled my data and got the error below when running a TRAIN_ONLY pipeline on the dataset:
2021-02-25 09:15:25,767 - uipath_core.training_plugin:train_model:104 - INFO: Start model training…
2021-02-25 09:15:25,767 - uipath_core.training_plugin:initialize_model:98 - INFO: Start model initialization…
2021-02-25 09:15:25,769 - uipath_core.training_plugin:model_run:140 - ERROR: Training failed for pipeline type: TRAIN_ONLY, error: Expecting value: line 1 column 1 (char 0)
2021-02-25 09:15:25,814 - uipath_core.trainer_run:main:81 - ERROR: Training Job failed, error: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File “/home/aifabric/.local/lib/python3.7/site-packages/uipath_core/”, line 76, in main
File “/microservice/”, line 57, in run
return self.training_plugin.model_run()
File “/home/aifabric/.local/lib/python3.7/site-packages/uipath_core/”, line 141, in model_run
raise e
File “/home/aifabric/.local/lib/python3.7/site-packages/uipath_core/”, line 133, in model_run
File “/home/aifabric/.local/lib/python3.7/site-packages/uipath_core/”, line 202, in run_train_only
File “/home/aifabric/.local/lib/python3.7/site-packages/uipath_core/”, line 106, in train_model
File “/home/aifabric/.local/lib/python3.7/site-packages/uipath_core/”, line 94, in model
File “/home/aifabric/.local/lib/python3.7/site-packages/uipath_core/”, line 100, in initialize_model
self._model = train.Main()
File “/microservice/”, line 18, in init
self.opt = self.get_options()
File “/microservice/”, line 57, in get_options
args_opt = argv.ArgvParser().parse(sys.argv)
File “”, line 16, in parse
File “”, line 22, in __parse_value
File “/opt/conda/lib/python3.7/json/”, line 348, in loads
return _default_decoder.decode(s)
File “/opt/conda/lib/python3.7/json/”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/opt/conda/lib/python3.7/json/”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Why did it happen? What should I do to fix it?
Kind Regards,
Maciej Adamczyk

Hello @Maciej_Adamczyk!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly

It might have something to do with “Polish language” that the Invoice model cannot decode Polish letters in Polish invoices. How to fix it?
Please help me,
Kind regards,
Maciej Adamczyk