REST API direct integration resource not working

Someone can tell me why the REST API is not working?

Test API call response
Status: -1
Error: Error:
The result was not an array. Maybe the data you’re looking for is inside one of the response object keys?

{}
status: -1

Resource settings for Get collection (GET)

Resource URL: https://firestore.googleapis.com/v1beta1/
Relative path: projects/airsoftagenda-e8cc0/databases/(default)/documents/AirsoftAgenda

now i have some values to work on…

Test API call response
Status: -1
Error: Error:
The result was not an array. Maybe the data you’re looking for is inside one of the response object keys?

{
“documents”: [
{
“name”: “projects/airsoft-9bf17/databases/(default)/documents/Jogos/1”,
“fields”: {
“Nome”: {
“stringValue”: “Nome do Jogo”
},
“Data”: {
“stringValue”: “Data do jogo”
},
“Telefone”: {
“integerValue”: “965009300”
},
“Valor”: {
“integerValue”: “35”
}
},
“createTime”: “2021-06-01T00:45:03.626754Z”,
“updateTime”: “2021-06-01T00:45:03.626754Z”
}
]
}
status: -1

Resource settings for Get collection (GET)

Resource URL: https://firestore.googleapis.com/v1beta1/
Relative path: projects/airsoft-9bf17/databases/(default)/documents/Jogos

You need to set Response key path to documents

1 Like

Thanks John, now the connection is working!

but now i dont have the data showed in app:

Where is your Get Record Collection logic node?

How can i connect?

I expect no event to list. My intention is to open the app and the list appears…

I got the “Open Page” ready, so its not connected yet.

I expected to see the list working first…

Some other configurations: