# User\_quota "Unexpected Error"

**URL:** <https://community.shiphero.com/t/user-quota-unexpected-error/905>\
**Category:** GraphQL API\
**Created:** [October 16, 2020, 6:10pm UTC](https://community.shiphero.com/t/user-quota-unexpected-error/905 "2020-10-16T18:10:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwz](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@jwz](https://community.shiphero.com/u/jwz)\
**Post date:** [October 16, 2020, 6:10pm UTC](https://community.shiphero.com/t/user-quota-unexpected-error/905/1 "2020-10-16T18:10:24Z")

</div>

Hi,

We just started getting “Unexpected Error” when checking user quota.  
Example “request\_id”: “5f89e12ca462953c3d01486b”

Thank you!

```
query
{
  user_quota {
    is_expired
    expiration_date
    time_remaining
    credits_remaining
    max_available
    increment_rate
  }
}

```

* * *

```
{
  "errors": [
    {
      "message": "Unexpected Error",
      "operation": "user_quota",
      "field": "user_quota",
      "request_id": "5f89e12ca462953c3d01486b",
      "code": 22
    }
  ],
  "data": {
    "user_quota": null
  }
}
```

---

<div class="post-metadata">

**Author:** ![jwz](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@jwz](https://community.shiphero.com/u/jwz)\
**Post date:** [October 19, 2020, 3:39pm UTC](https://community.shiphero.com/t/user-quota-unexpected-error/905/2 "2020-10-19T15:39:44Z")

</div>

Hi, would really appreciate response as this is interrupting our processes. Thank you!

More recent response if it helps:

```
{
    "errors": [
        {
            "message": "Unexpected Error",
            "operation": "user_quota",
            "field": "user_quota",
            "request_id": "5f8db29bf77c2efa743ab391",
            "code": 22
        }
    ],
    "data": {
        "user_quota": null
    }
}
```

---

<div class="post-metadata">

**Author:** ![galvarez](https://avatars.discourse-cdn.com/v4/letter/g/d2c977/32.png) [@galvarez](https://community.shiphero.com/u/galvarez)\
**Post date:** [October 19, 2020, 8:45pm UTC](https://community.shiphero.com/t/user-quota-unexpected-error/905/3 "2020-10-19T20:45:59Z")

</div>

hello @jwzI try to get same error using same request you did, but Im not getting any error

I’m getting this:

```
{
  "data": {
    "user_quota": {
      "is_expired": false,
      "expiration_date": null,
      "time_remaining": null,
      "credits_remaining": 1001,
      "max_available": 1001,
      "increment_rate": 15
    }
  }
}
```

---

<div class="post-metadata">

**Author:** ![jwz](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@jwz](https://community.shiphero.com/u/jwz)\
**Post date:** [October 19, 2020, 9:27pm UTC](https://community.shiphero.com/t/user-quota-unexpected-error/905/4 "2020-10-19T21:27:34Z")

</div>

Hi @galvarez it was not working this morning but just started working now.  
Thanks!
