# Issue with batch requests on remote control api ?

**URL:** <https://forums.unrealengine.com/t/issue-with-batch-requests-on-remote-control-api/673414>\
**Category:** Editor Scripting\
**Tags:** Python, Remote-Control, unreal-engine, question\
**Created:** [October 20, 2022, 9:38am UTC](https://forums.unrealengine.com/t/issue-with-batch-requests-on-remote-control-api/673414 "2022-10-20T09:38:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgtoolbox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cgtoolbox/32/1000246_2.png) [@cgtoolbox](https://forums.unrealengine.com/u/cgtoolbox)\
**Post date:** [October 20, 2022, 9:38am UTC](https://forums.unrealengine.com/t/issue-with-batch-requests-on-remote-control-api/673414/1 "2022-10-20T09:38:29Z")

</div>

Hello folks !

I’ve been to work with the remote control API, and it all work fine, unless I’m doing batch requests, with the end point: remote/batch. ( run from a python script ).

Everytime I run that, Unreal crashes. Here is the body I use in the request, if I execute them one by one, on separate request, it works all fine.

```json

{
    "Requests": [
        {
            "RequestId": 1,
            "URL": "/remote/object/property",
            "Verb": "PUT",
            "Body": {
                "objectPath": "/Game/Levels/NewMap.NewMap:PersistentLevel.StaticMeshActor_0.StaticMeshComponent0",
                "access": "READ_ACCESS",
                "propertyName": "ForcedLodModel"
            }
        },
        {
            "RequestId": 2,
            "URL": "/remote/object/property",
            "Verb": "PUT",
            "Body": {
                "objectPath": "/Game/Levels/NewMap.NewMap:PersistentLevel.StaticMeshActor_0.StaticMeshComponent0",
                "access": "READ_ACCESS",
                "propertyName": "PreviousLODLevel"
            }
        }
    ]
}

```

Before I open a bug, anyone has seen that before ? I am missing something ?

Thanks !

---

<div class="post-metadata">

**Author:** ![Paul\_Moreau1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Paul\_Moreau1](https://forums.unrealengine.com/u/Paul_Moreau1)\
**Post date:** [January 17, 2023, 9:45am UTC](https://forums.unrealengine.com/t/issue-with-batch-requests-on-remote-control-api/673414/2 "2023-01-17T09:45:51Z")

</div>

Exact same problem for me. Anyone else?

---

<div class="post-metadata">

**Author:** ![icnahom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@icnahom](https://forums.unrealengine.com/u/icnahom)\
**Post date:** [April 12, 2024, 3:03pm UTC](https://forums.unrealengine.com/t/issue-with-batch-requests-on-remote-control-api/673414/3 "2024-04-12T15:03:35Z")

</div>

Where should we file this issue? It has been years without a response.

---

<div class="post-metadata">

**Author:** ![cgtoolbox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cgtoolbox/32/1000246_2.png) [@cgtoolbox](https://forums.unrealengine.com/u/cgtoolbox)\
**Post date:** [April 25, 2024, 7:15am UTC](https://forums.unrealengine.com/t/issue-with-batch-requests-on-remote-control-api/673414/4 "2024-04-25T07:15:12Z")

</div>

Hey guys,

I’m putting in place some test data I can sent to Epic for bug repro …

---

<div class="post-metadata">

**Author:** ![yann.miecielica](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yann.miecielica](https://forums.unrealengine.com/u/yann.miecielica)\
**Post date:** [May 27, 2024, 2:54pm UTC](https://forums.unrealengine.com/t/issue-with-batch-requests-on-remote-control-api/673414/6 "2024-05-27T14:54:42Z")

</div>

Hello,

It seems that the Batch request crashes systematically if the request header has no Passphrase fields. Adding one to your HTTP request solves the problem.

```auto
const unrealHeaderDict = {
    'User-Agent': 'X-UnrealEngine-Agent',
    'Content-Type': 'application/json',
    'Passphrase': 'random-text',
  }

```

---

<div class="post-metadata">

**Author:** ![cgtoolbox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cgtoolbox/32/1000246_2.png) [@cgtoolbox](https://forums.unrealengine.com/u/cgtoolbox)\
**Post date:** [May 30, 2024, 7:36am UTC](https://forums.unrealengine.com/t/issue-with-batch-requests-on-remote-control-api/673414/7 "2024-05-30T07:36:20Z")

</div>

OMG thank you !
