Interesting... Did you tried to follow my path posted above?I tried different ways to run TCE for several days. Deauthorization / new authorization did not work. TCE reports "Invalid credentials", even if the EDMC GUI is successfully authorized. EDMC CLI debug.log:
I have an EGS version of the game and it looks like this is a clue and I found a way to run TCE without error -Code:2021-01-25 01:06:14.371 - ERROR - companion.Session.query:500: Frontier CAPI Auth: GET Traceback (most recent call last): File "companion.pyc", line 496, in query File "requests\models.pyc", line 943, in raise_for_status requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://companion.orerve.net/profile 2021-01-25 01:06:14.374 - ERROR - companion.Session.dump:583: Frontier CAPI Auth: https://companion.orerve.net/profile 400 Bad Request Please <a class="alert-link" href="https://frontierstore.net/">Visit the store</a> to purchase Elite: Dangerous. 2021-01-25 01:06:15.683 - ERROR - companion.Session.query:500: Frontier CAPI Auth: GET Traceback (most recent call last): File "companion.pyc", line 496, in query File "requests\models.pyc", line 943, in raise_for_status requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://companion.orerve.net/profile During handling of the above exception, another exception occurred: Traceback (most recent call last): File "companion.pyc", line 496, in query File "requests\models.pyc", line 943, in raise_for_status requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://companion.orerve.net/profile 2021-01-25 01:06:15.685 - ERROR - companion.Session.dump:583: Frontier CAPI Auth: https://companion.orerve.net/profile 400 Bad Request Please <a class="alert-link" href="https://frontierstore.net/">Visit the store</a> to purchase Elite: Dangerous. 2021-01-25 01:06:15.687 - ERROR - companion.Session.query:505: Frontier CAPI Auth: query failed after refresh 2021-01-25 01:06:15.690 - INFO - companion.invalidate:351: Frontier CAPI Auth: Invalidated token for "Chilace" 2021-01-25 01:06:16.191 - ERROR - companion.Auth.refresh:261: Frontier CAPI Auth: Can't refresh token for "Chilace" 2021-01-25 01:06:16.193 - INFO - companion.Auth.refresh:271: Frontier CAPI Auth: New authorization request 2021-01-25 01:06:16.195 - INFO - companion.Auth.refresh:277: Trying auth from scratch for Commander "Chilace" 2021-01-25 01:06:16.396 - ERROR - EDMC.main:394: Frontier CAPI Server: Invalid Credentials 2021-01-25 01:08:36.844 - ERROR - companion.Auth.refresh:261: Frontier CAPI Auth: Can't refresh token for "Chilace" 2021-01-25 01:08:36.847 - INFO - companion.Auth.refresh:271: Frontier CAPI Auth: New authorization request 2021-01-25 01:08:36.848 - INFO - companion.Auth.refresh:277: Trying auth from scratch for Commander "Chilace" 2021-01-25 01:08:37.057 - ERROR - companion.Session.query:469: cannot make a query when unauthorized 2021-01-25 01:08:37.058 - ERROR - EDMC.main:394: Frontier CAPI Server: Invalid Credentials
Before starting TCE, you first need to start the game, in this case, TCE reports that the EDMC is ready to use.
Otherwise, this log and post is better placed into the thread or issue tracker of EDMC to find a solution.
Thanks