# Limit on number of successive jobs on simulon\_gaussian/X8?

**URL:** <https://discuss.pennylane.ai/t/limit-on-number-of-successive-jobs-on-simulon-gaussian-x8/3477>\
**Category:** Strawberry Fields\
**Created:** [September 25, 2023, 9:56am UTC](https://discuss.pennylane.ai/t/limit-on-number-of-successive-jobs-on-simulon-gaussian-x8/3477 "2023-09-25T09:56:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gloy](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@gloy](https://discuss.pennylane.ai/u/gloy)\
**Post date:** [September 25, 2023, 9:56am UTC](https://discuss.pennylane.ai/t/limit-on-number-of-successive-jobs-on-simulon-gaussian-x8/3477/1 "2023-09-25T09:56:04Z")

</div>

Hello,

Is there maximum number on the number of successive jobs that can be submitted with remote simulon\_gaussian/X8 engines?

I ask because if I set up a loop to submit circuits, everything works as expected for N iterations (where N depends on the number of shots, but N=10 is a typical value) but then I receive the following error:

```auto
# File c:\Miniconda3\envs\sf_env\Lib\site-packages\xcc\job.py:308, in Job.finished(self)
...
   1018 )
   1020 if http_error_msg:
-> 1021 raise HTTPError(http_error_msg, response=self)

HTTPError: 403 Client Error: Forbidden for url: https://platform.xanadu.ai:443/jobs/d54f2a6a-d438-433d-a780-3e32f7b7d4cc

```

Thanks

---

<div class="post-metadata">

**Author:** ![CatalinaAlbornoz](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/catalinaalbornoz/32/1196_2.png) [@CatalinaAlbornoz](https://discuss.pennylane.ai/u/CatalinaAlbornoz)\
**Post date:** [September 26, 2023, 8:49pm UTC](https://discuss.pennylane.ai/t/limit-on-number-of-successive-jobs-on-simulon-gaussian-x8/3477/2 "2023-09-26T20:49:51Z")

</div>

Hi @gloy , this is very strange. Make sure you’re following the instructions [in the documentation](https://strawberryfields.readthedocs.io/en/stable/introduction/photonic_hardware.html) on how to connect to hardware. If you’re running this locally you will need to `pip install xanadu-cloud-client` first. Then you can follow the instructions in the documentation and follow the instructions on [executing programs on X8 devices](https://strawberryfields.ai/photonics/demos/tutorial_X8.html) if you want to run on hardware.

I would recommend using a new virtual environment first, before doing anything to avoid package versioning and compatibility issues.

Let me know if this solves your issue. Otherwise, please post a minimal but self-contained example of the code that I can use to try to reproduce the error.

I hope this helps!
