-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error with request #740
Comments
Hi Rud - your data object should contain a series of table arrays. The name of each array will become the SAS table name. Each table array contains a series of row objects. The stringified JSON should look like this (assuming your table is called "sdfvc" and your column is "FREKVENS": {
"sdfvc": [{
"FREKVENS": "PRIMO_BANKDAG_MDR"
}, {
"FREKVENS": "PRIMO_BANKDAG_MDR"
}, {
"FREKVENS": "PRIMO_BANKDAG_MDR"
}]
} More info here: https://sasjs.io/sasjs-adapter/#request-response |
Hi @rudvfaden - we've updated the adapter to give a more helpful error message when this issue occurs. |
Do you have a suggestion on how to get this returned from a html table?
fre. 22. jul. 2022 15.30 skrev Allan Bowe ***@***.***>:
… Hi Rud - your data object should contain a series of table objects. The
name of each object will become your SAS table name.
Each table object contains an array of row objects.
The stringified JSON should look like this (assuming your table is called
"sdfvc" and your column is "FREKVENS":
{
"sdfvc": [{
"FREKVENS": "PRIMO_BANKDAG_MDR"
}, {
"FREKVENS": "PRIMO_BANKDAG_MDR"
}, {
"FREKVENS": "PRIMO_BANKDAG_MDR"
}]
}
—
Reply to this email directly, view it on GitHub
<#740 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASVCCPKHQFTDFIOSMFEB3DVVKPAFANCNFSM54LM4I2Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi @rudvfaden - this is a question best suited for the SASjs Support channel, as it's not specifically adapter related: https://matrix.to/#/#sasjs:4gl.io Will look to get you an answer there |
Old issue. You can close it. |
I am getting an ERROR trying to pass some data to the adapter. I have this function.
My data has one col.
I am getting this error:
Any idea of what is wrong?
The text was updated successfully, but these errors were encountered: