I've been trying to set up a REST connection between Skyvia and SmartHub using the information provided by SmartHub and even though the connection seems to test okay, when I try to use it, it just says 'unauthorized'. I'm not sure if the error is due to some security setting or if I set it up wrong. Would someone be able to take a look at the attached files and let me know how it is supposed to work?
I set up the metadata similar to another post I saw, but I'm not really entirely sure that it's correct. I also tried to keep it simple by only adding a couple of fields for testing.
Metadata:
{
"ProviderConfiguration" : {
},
"Metadata" :
[
{
"Name":"getLead",
"Url":"/getLead",
"ResultPath": "data",
"Columns" : [
{"Name":"Id", APIPath: "id", "DbType":"String", "Primary":true, "Createable":false, "Updateable":false},
{"Name":"After", APIPath: "after", "DbType":"String", "Createable":false, "Updateable":false},
]
}
]
}
I would very much appreciate any help you can offer. Thanks.