# Timeout/max requests for strawberry fields api?

**URL:** <https://discuss.pennylane.ai/t/timeout-max-requests-for-strawberry-fields-api/1298>\
**Category:** Strawberry Fields\
**Created:** [August 18, 2021, 7:37pm UTC](https://discuss.pennylane.ai/t/timeout-max-requests-for-strawberry-fields-api/1298 "2021-08-18T19:37:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samarth\_Sandeep](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/samarth_sandeep/32/650_2.png) [@Samarth\_Sandeep](https://discuss.pennylane.ai/u/Samarth_Sandeep)\
**Post date:** [August 18, 2021, 7:37pm UTC](https://discuss.pennylane.ai/t/timeout-max-requests-for-strawberry-fields-api/1298/1 "2021-08-18T19:37:25Z")

</div>

Is there a set number of requests or hard timeout for Strawberry Fields’ api? Tried to send dummy jobs as per a previous post [Ability to determine if X8 can take job without having to run job?](http://discuss.pennylane.ai/t/ability-to-determine-if-x8-can-take-job-without-having-to-run-job/1276/2) after service hours, and was met with connection timeouts.

---

<div class="post-metadata">

**Author:** ![Alain\_Delgado\_Gran](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/alain_delgado_gran/32/78_2.png) [@Alain\_Delgado\_Gran](https://discuss.pennylane.ai/u/Alain_Delgado_Gran)\
**Post date:** [August 18, 2021, 10:31pm UTC](https://discuss.pennylane.ai/t/timeout-max-requests-for-strawberry-fields-api/1298/2 "2021-08-18T22:31:27Z")

</div>

Hi @Samarth_Sandeep,

Thank you for submitting your question to the forum.

The cloud team has just confirmed that everything looks alright on the platform side for job submission. Could you please provide us with the stack trace so the team would be able to help you with this issue?

Thank you!

---

<div class="post-metadata">

**Author:** ![Samarth\_Sandeep](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/samarth_sandeep/32/650_2.png) [@Samarth\_Sandeep](https://discuss.pennylane.ai/u/Samarth_Sandeep)\
**Post date:** [August 19, 2021, 1:26am UTC](https://discuss.pennylane.ai/t/timeout-max-requests-for-strawberry-fields-api/1298/3 "2021-08-19T01:26:11Z")

</div>

Hi Alan,

Sure, here is what I got:

 ![image](https://canada1.discourse-cdn.com/flex012/uploads/pennylane/original/1X/443724ccf1f909e76214f407de0ae22507604685.png)

These errors only happened in off-hours. Otherwise, the api was responding fine during service hours. But, the api should still be able to send back a negative response even in off-hours, right?

Thanks,  
Samarth

---

<div class="post-metadata">

**Author:** ![Samarth\_Sandeep](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/samarth_sandeep/32/650_2.png) [@Samarth\_Sandeep](https://discuss.pennylane.ai/u/Samarth_Sandeep)\
**Post date:** [August 19, 2021, 1:26am UTC](https://discuss.pennylane.ai/t/timeout-max-requests-for-strawberry-fields-api/1298/4 "2021-08-19T01:26:51Z")

</div>

Here is another error received:

 ![image](https://canada1.discourse-cdn.com/flex012/uploads/pennylane/original/1X/9349f64b688a8b110fa08bddea440918f7fe48c8.png)

---

<div class="post-metadata">

**Author:** ![Maria\_Schuld](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/maria_schuld/32/166_2.png) [@Maria\_Schuld](https://discuss.pennylane.ai/u/Maria_Schuld)\
**Post date:** [August 19, 2021, 4:46pm UTC](https://discuss.pennylane.ai/t/timeout-max-requests-for-strawberry-fields-api/1298/5 "2021-08-19T16:46:04Z")

</div>

Hey @Samarth_Sandeep,

We forwarded your error to the Cloud team and will get back to you shortly!

---

<div class="post-metadata">

**Author:** ![John\_Long](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/john_long/32/661_2.png) [@John\_Long](https://discuss.pennylane.ai/u/John_Long)\
**Post date:** [August 19, 2021, 6:13pm UTC](https://discuss.pennylane.ai/t/timeout-max-requests-for-strawberry-fields-api/1298/6 "2021-08-19T18:13:37Z")

</div>

Hi @Maria_Schuld,

I work with Samarth on the same project and just wanted to give the heads up that the `x8_device_process() error:` substring is not from Strawberry Fields but is something emitted from our software for diagnostics.

The rest of the error message are the contents from any exceptions Strawberry Fields throws (in this case, what @Samarth_Sandeep has posted above).

Apologies for not mentioning this earlier (didn’t want your team to search for a non-existent error message!) and thank you for your help!

---

<div class="post-metadata">

**Author:** ![Alain\_Delgado\_Gran](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/alain_delgado_gran/32/78_2.png) [@Alain\_Delgado\_Gran](https://discuss.pennylane.ai/u/Alain_Delgado_Gran)\
**Post date:** [August 19, 2021, 7:19pm UTC](https://discuss.pennylane.ai/t/timeout-max-requests-for-strawberry-fields-api/1298/7 "2021-08-19T19:19:14Z")

</div>

Hi @John_Long,

Thank you very much for clarifying on this. Please, if you have any issue do not hesitate to get back to us.

Thank you.
