# Can not perform OAuth authorization for Airvantage

**URL:** <https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142>\
**Category:** Device Management\
**Created:** [April 18, 2017, 8:27am UTC](https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142 "2017-04-18T08:27:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorn](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@Jorn](https://forum.sierrawireless.com/u/Jorn)\
**Post date:** [April 18, 2017, 8:27am UTC](https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142/1 "2017-04-18T08:27:37Z")

</div>

When my API client requests its access tokens, using an authorization code, AirVantage responds with an HTTP 500, reason given: “None”.

This used to work, I can’t tell what’s wrong

---

<div class="post-metadata">

**Author:** ![rjacolin](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/rjacolin/32/4748_2.png) [@rjacolin](https://forum.sierrawireless.com/u/rjacolin)\
**Post date:** [April 18, 2017, 8:53am UTC](https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142/2 "2017-04-18T08:53:52Z")

</div>

Hi Jorn,

Can you give us more information?

which api do you call:

- /api/oauth/token

- /api/oauth/authorize

and which flow:

- authorization Code Flow.

- The Implicit Flow

- Resource Owner Flow

which server is being used  
and when is the 500 being received? after login?

Regards,  
Robert

---

<div class="post-metadata">

**Author:** ![Jorn](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@Jorn](https://forum.sierrawireless.com/u/Jorn)\
**Post date:** [April 18, 2017, 10:15am UTC](https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142/3 "2017-04-18T10:15:49Z")

</div>

Hi Robert,

Calling /api/oauth/token, Authorization Code Flow, using the european server

The 500 is received after I receive the authorization code and try to get the access tokens (by passing the authorization code to /api/oauth/token)

---

<div class="post-metadata">

**Author:** ![aserrano](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@aserrano](https://forum.sierrawireless.com/u/aserrano)\
**Post date:** [April 20, 2017, 12:38pm UTC](https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142/4 "2017-04-20T12:38:18Z")

</div>

Hi Jorn

Can you provide the client Id you use? We have made some test on our side (with different client Id) and we cannot reproduce.

Regards  
Alfredo

---

<div class="post-metadata">

**Author:** ![aserrano](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@aserrano](https://forum.sierrawireless.com/u/aserrano)\
**Post date:** [April 20, 2017, 2:24pm UTC](https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142/5 "2017-04-20T14:24:52Z")

</div>

Hi Jorn,

I think we detect the problem. We are working to fix it asap.

I’ll keep you informed.

Alfredo

---

<div class="post-metadata">

**Author:** ![aserrano](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@aserrano](https://forum.sierrawireless.com/u/aserrano)\
**Post date:** [April 21, 2017, 3:08pm UTC](https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142/6 "2017-04-21T15:08:23Z")

</div>

Hi Jorn,

The issue has been fixed. Please let us know if it working back on your side.

Sorry for the inconvenience.

Alfredo Serrano

---

<div class="post-metadata">

**Author:** ![Jorn](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@Jorn](https://forum.sierrawireless.com/u/Jorn)\
**Post date:** [April 24, 2017, 8:57am UTC](https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142/7 "2017-04-24T08:57:02Z")

</div>

Hello Alfredo,

It seems to be working again, thank you very much.

---

<div class="post-metadata">

**Author:** ![lota.ilogu](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@lota.ilogu](https://forum.sierrawireless.com/u/lota.ilogu)\
**Post date:** [July 31, 2020, 4:19pm UTC](https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142/8 "2020-07-31T16:19:41Z")

</div>

Hi,  
I called /api/oauth/token with Resource Owner Flow using the North American server and it doesnt seem to be working. I’m getting this:

\<!doctype html\>

 Sierra Wireless You need to enable JavaScript to run this app.

---

<div class="post-metadata">

**Author:** ![lota.ilogu](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@lota.ilogu](https://forum.sierrawireless.com/u/lota.ilogu)\
**Post date:** [July 31, 2020, 4:20pm UTC](https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142/9 "2020-07-31T16:20:51Z")

</div>

\<!doctype html\>

```
<meta charset="utf-8">

<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">

<link rel="shortcut icon" href="https://d29ctq871ma42a.cloudfront.net/resources/20.7.1/favicon.png">

<title>Sierra Wireless</title>

<link href="https://d29ctq871ma42a.cloudfront.net/resources/20.7.1/static/css/main.bc9c93dc.chunk.css"

    rel="stylesheet">

```

You need to enable JavaScript to run this app.

```
<div id="root"></div>

<script>

    !function(f){function e(e){for(var t,r,n=e[0],o=e[1],u=e[2],l=0,a=[];l<n.length;l++)r=n[l],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&a.push(i[r][0]),i[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(f[t]=o[t]);for(s&&s(e);a.length;)a.shift()();return p.push.apply(p,u||[]),c()}function c(){for(var e,t=0;t<p.length;t++){for(var r=p[t],n=!0,o=1;o<r.length;o++){var u=r[o];0!==i[u]&&(n=!1)}n&&(p.splice(t--,1),e=l(l.s=r[0]))}return e}var r={},i={1:0},p=[];function l(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return f[e].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=f,l.c=r,l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(t,e){if(1&e&&(t=l(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)l.d(r,n,function(e){return t[e]}.bind(null,n));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="https://d29ctq871ma42a.cloudfront.net/resources/20.7.1/";var t=this.webpackJsonpsso=this.webpackJsonpsso||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var o=0;o<t.length;o++)e(t[o]);var s=n;c()}([])

</script>

<script src="https://d29ctq871ma42a.cloudfront.net/resources/20.7.1/static/js/2.54d8bfa7.chunk.js"></script>

<script src="https://d29ctq871ma42a.cloudfront.net/resources/20.7.1/static/js/main.55aca400.chunk.js"></script>

```

---

<div class="post-metadata">

**Author:** ![lota.ilogu](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@lota.ilogu](https://forum.sierrawireless.com/u/lota.ilogu)\
**Post date:** [July 31, 2020, 4:22pm UTC](https://forum.sierrawireless.com/t/can-not-perform-oauth-authorization-for-airvantage/9142/10 "2020-07-31T16:22:22Z")

</div>

You have to forgive I’m very new too all this. I’m trying to use the API to perform bulk operations and pull performance data in bulk
