# Cant save app\_metadata with Postman when im creating a new user to Auth0

**URL:** <https://community.auth0.com/t/cant-save-app-metadata-with-postman-when-im-creating-a-new-user-to-auth0/15738>\
**Category:** Get Help\
**Tags:** api, signup, postman\
**Created:** [September 20, 2018, 8:07pm UTC](https://community.auth0.com/t/cant-save-app-metadata-with-postman-when-im-creating-a-new-user-to-auth0/15738 "2018-09-20T20:07:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![josevalverde93](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/josevalverde93/32/8928_2.png) [@josevalverde93](https://community.auth0.com/u/josevalverde93)\
**Post date:** [September 20, 2018, 8:07pm UTC](https://community.auth0.com/t/cant-save-app-metadata-with-postman-when-im-creating-a-new-user-to-auth0/15738/1 "2018-09-20T20:07:55Z")

</div>

Hello. Im trying to add users through postman, but i need to set up the app\_metadata while adding the user. If i add a user with that option , it dont show an error, but it add the user WITHOUT the app\_metadata, its empty. Im i missing any configuration? Im adding users with this example.

```
{
  "connection": "Connection",
  "email": "john.doeexample@gmail.com",
  "username": "johndoe",
  "password": "Password12345",
  "phone_number": "+199999999999999",
  "user_metadata": {"color":"blue"},
  "email_verified": false,
  "verify_email": false,
  "phone_verified": false,
  "app_metadata": {"plan": "full"}
}

```

In the body pane i select the raw checkbox and set the format as JSON(application/json).  
Can you help me? im i missing something?

---

<div class="post-metadata">

**Author:** ![luke.oliff](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/luke.oliff/32/8938_2.png) [@luke.oliff](https://community.auth0.com/u/luke.oliff)\
**Post date:** [September 21, 2018, 9:01am UTC](https://community.auth0.com/t/cant-save-app-metadata-with-postman-when-im-creating-a-new-user-to-auth0/15738/2 "2018-09-21T09:01:03Z")

</div>

Hi @josevalverde93, your request body looks fine to me.

Can you verify which endpoint you’re submitting it to?  
Can you simplify your request body and see if another value is causing the problem?

There is a good example of doing this here: [https://auth0.com/docs/metadata/apis](https://auth0.com/docs/metadata/apis)

---

<div class="post-metadata">

**Author:** ![josevalverde93](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/josevalverde93/32/8928_2.png) [@josevalverde93](https://community.auth0.com/u/josevalverde93)\
**Post date:** [September 21, 2018, 4:50pm UTC](https://community.auth0.com/t/cant-save-app-metadata-with-postman-when-im-creating-a-new-user-to-auth0/15738/3 "2018-09-21T16:50:13Z")

</div>

Hi thanks for your answer. First im trying to add it from postman, i changed my request body to only needed fields, like connection, email, password and added the app metadata, but it didnt work as expected. it added the user but It didnt add the app\_metadata still. i dont know whats happening, maybe a configuration error.

i tried to add the user from C# with the same data and it worked, including app\_metadata, but from postman it didnt. I would like to know if im missing any configuration there.

---

<div class="post-metadata">

**Author:** ![luke.oliff](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/luke.oliff/32/8938_2.png) [@luke.oliff](https://community.auth0.com/u/luke.oliff)\
**Post date:** [September 21, 2018, 7:00pm UTC](https://community.auth0.com/t/cant-save-app-metadata-with-postman-when-im-creating-a-new-user-to-auth0/15738/4 "2018-09-21T19:00:22Z")

</div>

I can’t imagine it being a problem with Postman. Can you provide the payloads you used in your C# example and the postman example? Have you tried the exact working payload over in Postman?

---

<div class="post-metadata">

**Author:** ![josevalverde93](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/josevalverde93/32/8928_2.png) [@josevalverde93](https://community.auth0.com/u/josevalverde93)\
**Post date:** [September 21, 2018, 8:05pm UTC](https://community.auth0.com/t/cant-save-app-metadata-with-postman-when-im-creating-a-new-user-to-auth0/15738/5 "2018-09-21T20:05:29Z")

</div>

I solved the mistake! i was running the examples of the postman collection that you can download in the auth0 web site. I set up the environment, ant it had a default url for adding users. i was using that url. With that address , app\_metadata didn’t save but it save the other attributes. After that i run the C# example, and worked well, so i change the url from the postman examples to the url from the C# code and set no environment . It worked as it should. Thanks for your time and help. i appreciate it.

---

<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:** [October 21, 2018, 8:13pm UTC](https://community.auth0.com/t/cant-save-app-metadata-with-postman-when-im-creating-a-new-user-to-auth0/15738/6 "2018-10-21T20:13:49Z")

</div>

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