# Airvantage API - 503 error when GET alerts/current

**URL:** <https://forum.sierrawireless.com/t/airvantage-api-503-error-when-get-alerts-current/19052>\
**Category:** Uncategorized\
**Created:** [January 20, 2020, 7:22pm UTC](https://forum.sierrawireless.com/t/airvantage-api-503-error-when-get-alerts-current/19052 "2020-01-20T19:22:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wkhatch](https://avatars.discourse-cdn.com/v4/letter/w/67e7ee/32.png) [@wkhatch](https://forum.sierrawireless.com/u/wkhatch)\
**Post date:** [January 20, 2020, 7:22pm UTC](https://forum.sierrawireless.com/t/airvantage-api-503-error-when-get-alerts-current/19052/1 "2020-01-20T19:22:37Z")

</div>

Referring to API docs for Current Alerts, here: [https://doc.airvantage.net/av/reference/cloud/API/API-Alert-v2/](https://doc.airvantage.net/av/reference/cloud/API/API-Alert-v2/)

After successfully authenticating, and then issuing a GET request, (using Postman), like this:

https://{{swhost}}/api/v3/alerts/current&targetId={{swsystem}} where swhost is our endpoint url, and swsystem is the systemId I want the alerts for. I’m setting the auth token consistently as I do in other working requests, aka Bearer: in the headers.

I’m getting an html response:

```
<html>

<body>

<h1>503 Service Unavailable</h1>

No server is available to handle this request.

</body>

</html>

```

This is the only API call that’s doing this; all my other calls work fine, and given the response, I’m wondering what’s up? Thanks for any help.

---

<div class="post-metadata">

**Author:** ![wkhatch](https://avatars.discourse-cdn.com/v4/letter/w/67e7ee/32.png) [@wkhatch](https://forum.sierrawireless.com/u/wkhatch)\
**Post date:** [January 20, 2020, 7:27pm UTC](https://forum.sierrawireless.com/t/airvantage-api-503-error-when-get-alerts-current/19052/2 "2020-01-20T19:27:52Z")

</div>

Nevermind, I caught my error.

This: https://{{swhost}}/api/v3/alerts/current&targetId={{swsystem}}

Should be: https://{{swhost}}/api/v3/alerts/current?targetId={{swsystem}}

Improperly formed parameter in the URL. ?, not & for the first one…
