# Inconsistent API responses

**URL:** <https://community.purpleair.com/t/inconsistent-api-responses/1008>\
**Category:** API\
**Created:** [June 18, 2022, 7:13pm UTC](https://community.purpleair.com/t/inconsistent-api-responses/1008 "2022-06-18T19:13:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gadgetrants](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@gadgetrants](https://community.purpleair.com/u/gadgetrants)\
**Post date:** [June 18, 2022, 7:13pm UTC](https://community.purpleair.com/t/inconsistent-api-responses/1008/1 "2022-06-18T19:13:55Z")

</div>

Hi everyone, first post. I’m setting up my first group via the API with python, and getting strange results. After naming a group, I sometimes get it back when querying the API, and sometimes get an empty list. Something similar happens when I try to delete. I thought perhaps my requests were ill-formed but when I run the same queries from the API page, e.g.,

[https://api.purpleair.com/#api-groups-get-groups-list](https://api.purpleair.com/#api-groups-get-groups-list)

I see the same thing – repeated requests generate inconsistent responses. Sometimes the group is there, then it’s gone, then it’s back.

Is this expected behavior, e.g., when too many requests are repeated? I would have expected an error response to that effect, but the API seems to accept and respond to each request. Just not with the same answer.
