# Unable to connect to Vault connection for Auth0 forms

**URL:** <https://community.auth0.com/t/unable-to-connect-to-vault-connection-for-auth0-forms/183885>\
**Category:** Get Help\
**Tags:** other, missing-category\
**Created:** [March 14, 2025, 2:39am UTC](https://community.auth0.com/t/unable-to-connect-to-vault-connection-for-auth0-forms/183885 "2025-03-14T02:39:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris26](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chris26/32/73638_2.png) [@chris26](https://community.auth0.com/u/chris26)\
**Post date:** [March 14, 2025, 2:39am UTC](https://community.auth0.com/t/unable-to-connect-to-vault-connection-for-auth0-forms/183885/1 "2025-03-14T02:39:09Z")

</div>

I’m trying to set up an onboarding form. When I try to set the Vault connection and I am getting the following error. Do I need to set up a Vault connection in order to use the form?  
{  
“statusCode”: 400,  
“error”: “Bad Request”,  
“message”: “Payload validation error: ‘None of the valid schemas were met’. Inner errors: [Payload validation error: ‘Invalid value "AUTH0"’ on property app\_id. (also) Payload validation error: ‘None of the valid schemas were met’ on property setup ({description}). Inner errors: [ Payload validation error: ‘Additional properties not allowed: client\_secret,client\_id,domain’ on property setup ({description}).]. (also) Payload validation error: ‘None of the valid schemas were met’ on property setup ({description}). Inner errors: [Payload validation error: ‘Object didn’t pass validation for format hostname-rfc2181: chatstack-production’ on property setup.domain.]. (also) Payload validation error: ‘None of the valid schemas were met’ on property setup ({description}). Inner errors: [Payload validation error: ‘Invalid value "OAUTH\_APP"’ on property setup.type.]. (also) Payload validation error: ‘None of the valid schemas were met’ on property setup ({description}). Inner errors: [Payload validation error: ‘Additional properties not allowed: client\_secret,client\_id,domain’ on property setup ({description}). (also) Payload validation error: ‘Invalid value "OAUTH\_APP"’ on property setup.type.]. (also) Payload validation error: ‘None of the valid schemas were met’ on property setup ({description}). Inner errors: [Payload validation error: ‘Missing required property: algorithm’ on property setup.]. ].”,  
“errorCode”: “invalid\_body”  
}

---

<div class="post-metadata">

**Author:** ![chris26](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chris26/32/73638_2.png) [@chris26](https://community.auth0.com/u/chris26)\
**Post date:** [March 14, 2025, 2:42am UTC](https://community.auth0.com/t/unable-to-connect-to-vault-connection-for-auth0-forms/183885/2 "2025-03-14T02:42:04Z")

</div>

I’m using the form on the Auth0 dashboard to enter my information (tenant-domain, client\_id, client\_secret)

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [March 14, 2025, 3:30pm UTC](https://community.auth0.com/t/unable-to-connect-to-vault-connection-for-auth0-forms/183885/4 "2025-03-14T15:30:45Z")

</div>

Hi @chris26

Welcome to the Auth0 Community!

For the Auth0 Vault, from what I understand, you are using the Auth0 UI inside the Forms, right?

For the credentials of the Vault, are you using the client id and secret of the Management API application or a different one?

Could you attempt to create a vault through the Management API page? You can do that here:

> **[Auth0 Management API v2](https://auth0.com/docs/api/management/v2/flows/post-flows-vault-connections)**

For the body, you can try using the following:

```auto
{
    "app_id": "AUTH0",
    "name": "Auth0 Vault",
    "setup": {
      "type": "OAUTH_APP",
      "client_id": "{M2M_client_id}",
      "client_secret": "{M2M_client_secret}",
      "domain": "{AUTH0_Domain}"
    }
}

```

Let me know if the above works

Also, could you please share with me the tenant name that you are experiencing this issue on?

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![chris26](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chris26/32/73638_2.png) [@chris26](https://community.auth0.com/u/chris26)\
**Post date:** [March 18, 2025, 10:45pm UTC](https://community.auth0.com/t/unable-to-connect-to-vault-connection-for-auth0-forms/183885/5 "2025-03-18T22:45:04Z")

</div>

Thanks Nik! I was not using the M2M credentials. I think I got it working now.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [March 18, 2025, 10:49pm UTC](https://community.auth0.com/t/unable-to-connect-to-vault-connection-for-auth0-forms/183885/6 "2025-03-18T22:49:14Z")

</div>

Hi again.

Glad to know that the issue got resolved!

If you have any other questions, feel free to leave a reply or post again on the community!

Kind Regards,  
Nik

---

<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:** [April 1, 2025, 10:49pm UTC](https://community.auth0.com/t/unable-to-connect-to-vault-connection-for-auth0-forms/183885/7 "2025-04-01T22:49:21Z")

</div>

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