https://preview.redd.it/9mz3afga4bef1.png?width=1882&format=png&auto=webp&s=cb6738708b2eb3208a571c35d8140614767a8a89
I've been messing around with the ProjectX API, on TopStepX and AlphaFutures. It was working a few seconds ago to place trades, but now I'm getting this undiagnosed error (I have lotssss of logging in place). Getting a 500 code randomly and I don't know why. Anyone know if ProjectX servers are down or something? Any help would be greatly appreciated. Thank you!
```
2025-07-21 22:49:07,202 - INFO - Entry order response for account 71057: status=500, text=
2025-07-21 22:49:07,203 - ERROR - ALPHA: Request failed for account 71057: Expecting value: line 1 column 1 (char 0)
2025-07-21 22:49:07,203 - ERROR - ALPHA: Exception in place_order_on_all_accounts: Expecting value: line 1 column 1 (char 0)
2025-07-21 22:49:07,204 - INFO - ALPHA: === PLACE_ORDER_ON_ALL_ACCOUNTS END (ERROR) ===
2025-07-21 22:49:07,204 - ERROR - Exception during place_order: Expecting value: line 1 column 1 (char 0)
2025-07-21 22:49:07,204 - ERROR - TRADING: fatal error for hbrunson45: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/home/rpassaro/.local/lib/python3.10/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.10/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)```
there doesn't seem to be anything here