# Context.async is not a function err

**URL:** <https://forum.bubble.io/t/context-async-is-not-a-function-err/270961>\
**Category:** Plugin builders\
**Created:** [July 4, 2023, 7:12pm UTC](https://forum.bubble.io/t/context-async-is-not-a-function-err/270961 "2023-07-04T19:12:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![qwertyadamch](https://avatars.discourse-cdn.com/v4/letter/q/4bbf92/32.png) [@qwertyadamch](https://forum.bubble.io/u/qwertyadamch)\
**Post date:** [July 4, 2023, 7:12pm UTC](https://forum.bubble.io/t/context-async-is-not-a-function-err/270961/1 "2023-07-04T19:12:55Z")

</div>

Hey there.  
I read a lot of forum topics and still can’t figure this out. I try to return the results of API call in my plugin and I use context.async, but when I run it there is this error.

![image](https://us1.discourse-cdn.com/bubble/original/3X/5/0/504ad67fbd2b611a8b455742729588d043a9a29d.png)

Here is the part of the code with context.async:

![image](https://us1.discourse-cdn.com/bubble/original/3X/b/a/badd5433ec05da5cf98beaa2be789daf15705882.png)

I hope somebody can help me

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dorilama/32/226878_2.png) [@dorilama](https://forum.bubble.io/u/dorilama)\
**Post date:** [July 4, 2023, 9:08pm UTC](https://forum.bubble.io/t/context-async-is-not-a-function-err/270961/2 "2023-07-04T21:08:50Z")

</div>

is this a server side action? if that’s the case you may want to read [this](https://manual.bubble.io/account-and-marketplace/building-plugins/updating-to-plugin-api-v4)

---

<div class="post-metadata">

**Author:** ![qwertyadamch](https://avatars.discourse-cdn.com/v4/letter/q/4bbf92/32.png) [@qwertyadamch](https://forum.bubble.io/u/qwertyadamch)\
**Post date:** [July 5, 2023, 11:35am UTC](https://forum.bubble.io/t/context-async-is-not-a-function-err/270961/3 "2023-07-05T11:35:09Z")

</div>

Yes, this is exactly what the problem was.

Just need to change it to `context.v3.async` and it’s fine.

Thanks!

Edit: Turns out you don’t need to use `context.async` at all. Just `await` now.
