# Payload validation error on application crea

**URL:** <https://community.auth0.com/t/payload-validation-error-on-application-crea/96759>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [December 19, 2022, 9:03pm UTC](https://community.auth0.com/t/payload-validation-error-on-application-crea/96759 "2022-12-19T21:03:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkevinburton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rkevinburton/32/15790_2.png) [@rkevinburton](https://community.auth0.com/u/rkevinburton)\
**Post date:** [December 19, 2022, 9:03pm UTC](https://community.auth0.com/t/payload-validation-error-on-application-crea/96759/1 "2022-12-19T21:03:39Z")

</div>

As part of a Pluralsight course I entered callback URL and logout URL but when I submit I get an error  
‘Object did not pass validation for format absolute-https-uri-or-empty: [https://localhost:7039/authenticaltion/login-callback](https://localhost:7039/authenticaltion/login-callback)’ on property initiate\_login\_uri (Initiate login uri, must be https).

---

<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:** [January 5, 2023, 6:55pm UTC](https://community.auth0.com/t/payload-validation-error-on-application-crea/96759/4 "2023-01-05T18:55:03Z")

</div>

Hi @rkevinburton,

Thanks for reaching out to the Auth0 Community!

Firstly, the callback URL and logout URL values should be assigned to the `callbacks` and `allowed_logout_urls` parameters when[creating an application](https://auth0.com/docs/api/management/v2#!/Clients/post_clients).

Therefore, in this situation, I recommend that you set your callback URL([https://localhost:7039/authenticaltion/login-callback](https://localhost:7039/authenticaltion/login-callback)) to the `callbacks` parameter in your create an application request.

Secondly, the `initiate_login_uri` should be a URL that points to your application’s `/authorize` endpoint and cannot point to `localhost`. Given that, I recommend that you set your application’s login URI something like the following: `https://mycompany.org/login`.

Check out our [Configure Default Login Routes](https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes) documentation for more information

I hope this helps!

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:** [January 19, 2023, 6:55pm UTC](https://community.auth0.com/t/payload-validation-error-on-application-crea/96759/5 "2023-01-19T18:55:20Z")

</div>

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