# Missing required parameter: response\_type

**URL:** <https://community.auth0.com/t/missing-required-parameter-response-type/75629>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [December 30, 2021, 1:07pm UTC](https://community.auth0.com/t/missing-required-parameter-response-type/75629 "2021-12-30T13:07:12Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![olkr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/olkr/32/34085_2.png) [@olkr](https://community.auth0.com/u/olkr)\
**Post date:** [December 30, 2021, 1:07pm UTC](https://community.auth0.com/t/missing-required-parameter-response-type/75629/1 "2021-12-30T13:07:12Z")

</div>

Hello to all.

Used:  
“auth0”: “^2.36.1”,  
“@auth0/nextjs-auth0”: “1.0.0-beta.1”,

**“description”:** “Missing required parameter: response\_type”

```auto
{
  "body": {},
  "qs": {},
  "error": {
    "message": "Missing required parameter: response_type",
    "oauthError": "invalid_request",
    "type": "request-error"
  }
}

```

The error does not occur for all users (some users log in successfully).

Perhaps anyone have any idea why such errors might occur?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [December 30, 2021, 6:57pm UTC](https://community.auth0.com/t/missing-required-parameter-response-type/75629/3 "2021-12-30T18:57:11Z")

</div>

Hi @olkr,

Welcome to the Auth0 Community!

I understand that your end-users have errors logging in, specifically with the “Missing required parameter: response\_type” error.

This error is indicating that the authorize request URL does not have the `response_type` parameter, which is required.

For [example](https://auth0.com/docs/authorization/flows/call-your-api-using-the-authorization-code-flow):

```auto
https://YOUR_DOMAIN/authorize?
    response_type=code&
    client_id=YOUR_CLIENT_ID&
    redirect_uri=https://YOUR_APP/callback&
    scope=SCOPE&
    audience=API_AUDIENCE&
    state=STATE

```

In this case, you will need to make sure that authorize request includes the `response_type` parameter. After doing so, your users will be able to log in without issues.

Please let me know how it goes for you.

Thank you.

---

<div class="post-metadata">

**Author:** ![olkr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/olkr/32/34085_2.png) [@olkr](https://community.auth0.com/u/olkr)\
**Post date:** [January 12, 2022, 9:14am UTC](https://community.auth0.com/t/missing-required-parameter-response-type/75629/4 "2022-01-12T09:14:22Z")

</div>

For most users, the error does not occur - authorize request URL have the `response_type` parameter, and all the necessary other parameters for successful authorization.  
This error only happens for a part of users.  
Both groups of users use the same application, with the same settings.

Could there be some reason why the `response_type` parameter is being excluded from the request URL?

Upgrading from “@ auth0 / nextjs-auth0”: “1.0.0-beta.1” to “@ auth0 / nextjs-auth0”: “1.6.2” might help?

---

<div class="post-metadata">

**Author:** ![olkr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/olkr/32/34085_2.png) [@olkr](https://community.auth0.com/u/olkr)\
**Post date:** [January 25, 2022, 8:51am UTC](https://community.auth0.com/t/missing-required-parameter-response-type/75629/5 "2022-01-25T08:51:47Z")

</div>

Solution still not found.

@rueben.tiow Could there be some reason why the `response_type` parameter is being excluded from the request URL?

Upgrading from “@ auth0 / nextjs-auth0”: “1.0.0-beta.1” to “@ auth0 / nextjs-auth0”: “1.6.2” might help?

---

<div class="post-metadata">

**Author:** ![julius.skrisa](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/julius.skrisa/32/37644_2.png) [@julius.skrisa](https://community.auth0.com/u/julius.skrisa)\
**Post date:** [September 6, 2022, 8:40am UTC](https://community.auth0.com/t/missing-required-parameter-response-type/75629/6 "2022-09-06T08:40:46Z")

</div>

I am experiencing same issue, We are using @auth0/auth0-angular sdk. Mostly it works fine, but sometimes, I would say few % of users are seeing this issue. Logs in auth0 dashboard are saying “message”: “Missing required parameter: response\_type”. But with same build other users can login normally. The error appears only after user is redirected to the auth login page and enters credentials. User can see the auth0 error page “Oops something went wrong”.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 10, 2022, 12:33am UTC](https://community.auth0.com/t/missing-required-parameter-response-type/75629/7 "2022-09-10T00:33:34Z")

</div>

Hi @olkr,

Thank you for your updates.

I am unsure why this is happening to only a subset of your users. In this case, could you please capture this error in a HAR file and send it to me through a direct message so I can investigate further?

> [@olkr](#):
>
> Upgrading from “@ auth0 / nextjs-auth0”: “1.0.0-beta.1” to “@ auth0 / nextjs-auth0”: “1.6.2” might help?

Yes, this may help. Have you given it a try? What are your findings?

Thank you.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 10, 2022, 12:34am UTC](https://community.auth0.com/t/missing-required-parameter-response-type/75629/8 "2022-09-10T00:34:27Z")

</div>

Hi @julius.skrisa,

Thank you for your reply and for providing additional context.

Could you also capture the event in a HAR file and send it to me via a direct message to investigate further?

Thank you.

---

<div class="post-metadata">

**Author:** ![eric12](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eric12/32/40864_2.png) [@eric12](https://community.auth0.com/u/eric12)\
**Post date:** [November 30, 2022, 1:58pm UTC](https://community.auth0.com/t/missing-required-parameter-response-type/75629/9 "2022-11-30T13:58:57Z")

</div>

I am having a similar issue. Was there ever a solution found to this?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [December 10, 2022, 12:06am UTC](https://community.auth0.com/t/missing-required-parameter-response-type/75629/10 "2022-12-10T00:06:20Z")

</div>

Hi @eric12,

If you have encountering similar issues, could you please [capture a HAR file](https://auth0.com/docs/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files) and DM it to me to investigate further?

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 24, 2022, 12:06am UTC](https://community.auth0.com/t/missing-required-parameter-response-type/75629/11 "2022-12-24T00:06:30Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
