# Erros in batch request

**URL:** <https://forum.asana.com/t/erros-in-batch-request/1027505>\
**Category:** API & Developers\
**Created:** [18 February 2025 02:05 UTC](https://forum.asana.com/t/erros-in-batch-request/1027505 "2025-02-18T02:05:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lbreg](https://luna1.co/8d76cd.png) [@lbreg](https://forum.asana.com/u/lbreg)\
**Post date:** [18 February 2025 02:05 UTC](https://forum.asana.com/t/erros-in-batch-request/1027505/1 "2025-02-18T02:05:17Z")

</div>

Hi everyone,

I’m having trouble making batch requests using the Asana API. With these batch requests, we retrieve tasks assigned to a specific person. It has been working perfectly for months, but last week we started receiving a 500 status code error:

_“Oops! An unexpected error occurred while processing this request. The input may have contained something the server did not know how to handle…”_

Sometimes, I even get a 200 response, but with some errors in the response.

Are there any known issues with the Asana API, or has something changed?

 ![image](https://us1.discourse-cdn.com/asana/original/4X/e/9/c/e9c1faca610afb7b8b7d37737a06807d4cffb1c3.jpeg)

body request example:

```auto
{
  "data": {
    "actions": [
      {
        "options": {
          "fields": [
            "gid",
            "name",
            "custom_fields",
            "assignee_section.gid",
            "assignee_section.name",
            "assignee_section.resource_type",
            "completed",
            "created_at",
            "due_on",
            "modified_at",
            "notes",
            "projects.gid",
            "projects.name",
            "projects.resource_type",
            "resource_subtype",
            "resource_type",
            "start_on",
            "assignee.gid",
            "assignee.name",
            "assignee.resource_type",
            "actual_time_minutes",
            "dependents",
            "dependencies",
            "parent.name",
            "parent.gid",
            "parent.resource_type",
            "parent.projects.name",
            "created_by.email",
            "approval_status"
          ]
        },
        "data": {
          "assignee": "ASSIGNEE_ID",
          "workspace": "WORKSPACE_ID",
          "completed_since": "now"
        },
        "relative_path": "/tasks",
        "method": "get"
      }
    ]
  }
}

```

---

<div class="post-metadata">

**Author:** ![lbreg](https://luna1.co/8d76cd.png) [@lbreg](https://forum.asana.com/u/lbreg)\
**Post date:** [18 February 2025 02:10 UTC](https://forum.asana.com/t/erros-in-batch-request/1027505/2 "2025-02-18T02:10:29Z")

</div>

Complete errror response

```auto
{
  "errors": [
    {
      "message": "Oops! An unexpected error occurred while processing this request. The input may have contained something the server did not know how to handle. Usually waiting and then retrying the request once fixes this. If the issue is persistent, please navigate to https://help.asana.com and engage with our chatbot, making sure to include the error phrase from this response.",
      "help": "For more information on API status codes and how to handle them, read the docs on errors: https://developers.asana.com/docs/errors",
      "phrase": "20 heavy pandas plan awfully angrily"
    }
  ]
}

```

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [18 February 2025 18:49 UTC](https://forum.asana.com/t/erros-in-batch-request/1027505/3 "2025-02-18T18:49:17Z")

</div>

@John_Vu @John_Baldo are you able to check on this error phrase?

---

<div class="post-metadata">

**Author:** ![John\_Vu](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/john_vu/32/97235_2.png) [@John\_Vu](https://forum.asana.com/u/John_Vu)\
**Post date:** [19 February 2025 21:44 UTC](https://forum.asana.com/t/erros-in-batch-request/1027505/4 "2025-02-19T21:44:20Z")

</div>

Hi @lbreg, I looked up the error and it looks like an runtime exception. So trying again might work. Are you still experiencing this issue?

Is the [Submit parallel requests (POST /batch)](https://developers.asana.com/reference/createbatchrequest) endpoint failing itself or is it the case where one of the GET /tasks call in the batch request is failing?

---

<div class="post-metadata">

**Author:** ![lbreg](https://luna1.co/8d76cd.png) [@lbreg](https://forum.asana.com/u/lbreg)\
**Post date:** [20 February 2025 03:13 UTC](https://forum.asana.com/t/erros-in-batch-request/1027505/5 "2025-02-20T03:13:10Z")

</div>

Hi @John_Vu, thank you for the reply.

Actually we’ve been experiencing failures and slowness in the service since the last week, both in the Asana Api and Asana page. (Dunno if this infomation is relevant, we are located in Brazil.)  
I added some more retries to the failing one request to get its data.

> Is the [Submit parallel requests (POST /batch)](https://developers.asana.com/reference/createbatchrequest) endpoint failing itself or is it the case where one of the GET /tasks call in the batch request is failing?

A: Both happens, although it is more common to fail one of the GET.

---

<div class="post-metadata">

**Author:** ![John\_Vu](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/john_vu/32/97235_2.png) [@John\_Vu](https://forum.asana.com/u/John_Vu)\
**Post date:** [20 February 2025 18:38 UTC](https://forum.asana.com/t/erros-in-batch-request/1027505/6 "2025-02-20T18:38:59Z")

</div>

@lbreg Thank you for sharing. I’ll pass this info along to our dev team. For now I would rely on your retries.

If you come across similar errors, please share the error phrases with us to assist in our investigation.
