Unable to save data into custom_data field
Posted: Wed Apr 13, 2022 7:28 am
Hi All,
I have been having issues while attempting to save data into the custom_data field as pointed to by the /v1/user/custom_data endpoint.
I have been trying to write data via the swagger API. I have been performing the following sequence:
* create new account
* test out the /v1/user/custom_data route, and receive
`{}`
* Attempt to write custom data via PUT route using the example data, ie
`{
"user_data": {
"Country": "<country>",
"Time Zone": "UTC",
"Last Active Date": "yyyy-mm-dd",
"Beta": false
},
"write_once_user_data": {
"Birthday": "yyyy-mm-dd"
}
}`
* response received has status 200 and body:
`{
"user_data": {},
"user_settings": {},
"write_once_user_data": {}
}`
* attempting a GET request for the data returns the same empty json items.
My testing has suggested that this is an issue on the rainmaker cloud as it is occurring for brand new accounts and has no interaction with my app.
Any thoughts to solve this?
I have been having issues while attempting to save data into the custom_data field as pointed to by the /v1/user/custom_data endpoint.
I have been trying to write data via the swagger API. I have been performing the following sequence:
* create new account
* test out the /v1/user/custom_data route, and receive
`{}`
* Attempt to write custom data via PUT route using the example data, ie
`{
"user_data": {
"Country": "<country>",
"Time Zone": "UTC",
"Last Active Date": "yyyy-mm-dd",
"Beta": false
},
"write_once_user_data": {
"Birthday": "yyyy-mm-dd"
}
}`
* response received has status 200 and body:
`{
"user_data": {},
"user_settings": {},
"write_once_user_data": {}
}`
* attempting a GET request for the data returns the same empty json items.
My testing has suggested that this is an issue on the rainmaker cloud as it is occurring for brand new accounts and has no interaction with my app.
Any thoughts to solve this?