# Err: sandbox: execution interrupted, bridge disconnecting

**URL:** <https://community.postman.com/t/err-sandbox-execution-interrupted-bridge-disconnecting/55385>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [December 6, 2023, 5:49pm UTC](https://community.postman.com/t/err-sandbox-execution-interrupted-bridge-disconnecting/55385 "2023-12-06T17:49:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shilpa557](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@shilpa557](https://community.postman.com/u/shilpa557)\
**Post date:** [December 6, 2023, 5:49pm UTC](https://community.postman.com/t/err-sandbox-execution-interrupted-bridge-disconnecting/55385/1 "2023-12-06T17:49:55Z")

</div>

**Scenario** : I am having a request where the status changes from Processing to Processed . For that i written the below code .  
**Note** : Below code working for else case but when the file is in processing i am getting Sandbox execution interrupted , bridge disconnecting error . Please help me

```auto
while(true){
    setTimeout(() => {}, 240000);
    var status = pm.response.json().Status;
    pm.environment.set("status", status);
     if (status==="Processing"){
         
         pm.test("Survey File",function(res){
        pm.sendRequest({ 
            url: "https://xxxxxx.com/api/v3/project/file/data/16983", 
            method: 'GET', 
            header: { 'content-type': 'application/json', 'Authorization': "Bearer " + pm.environment.get("token"), 'Accept': "*/*" } 
            }); 
            });
        }    
         else if(status==="Processed"){
             
             console.log('Status:', status);
             return;

         }
         else if(status==="Error"){
             console.log('Status:', status);
             return;
         }
     
    
}

```

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [January 5, 2024, 5:50pm UTC](https://community.postman.com/t/err-sandbox-execution-interrupted-bridge-disconnecting/55385/2 "2024-01-05T17:50:32Z")

</div>

Closed on January 5, 2024, 5:50pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
