-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid attribute error #12
Comments
Hi @seanforyou23! I'll try to explain first what is Databox doing with pushed data so we can understand If I use your example and add one more item so it looks like this [
{
"key": "Leadsdata",
"value": 2499,
"date": "Thu, 22 Oct 2020 17:24:13 GMT",
"attributes": {
"createdon": "2016-06-30T18:26:00Z",
"salesstagecode": "3 - Attempted Contact",
"_frm_leadsource_value": "Search"
}
},
{
"key": "Leadsdata",
"value": 2450,
"date": "Thu, 22 Oct 2020 17:24:13 GMT",
"attributes": {
"createdon": "2016-06-30T18:26:00Z",
"salesstagecode": "3 - Attempted Contact (NEW)",
"_frm_leadsource_value": "Search (NEW)"
}
}
] Databox will normalize this data to look like this
Columns Is also good to know that Databox will save all records without a problem, but records 1. and 4. (maybe this is related to the question you asked in the #13) So now when we know how it works the question is how to fix it?
|
Super helpful - thx @VladaPetrovic. It does seem like the other issue I raised may be caused/related to the same thing and I think some combination of what you recommended should be able to work. I will give it a shot within the next couple days and report back. Thx again! |
Hi! When I push certain datashapes to the databox api I receive the following error.
The datashape I'm pushing is an array of objects that look like the following
I've tried omitting the attributes altogether, and changing the values of the other properties and for some reason I keep getting this error. I'm not really sure what I'm doing wrong or where to find what "invalid attribute" means or why I get it when not specifying attributes at all. Any ideas? FWIW I'm using this same format for other bits of data and they are able to post to the api no problem. Feel free to point me to any documentation in case I've overlooked it. Thank you!
The text was updated successfully, but these errors were encountered: