Reading data length and adding

I am adding data to a sheet and gave it this request ID in the JSObject as shown, but shown in the google sheet, I do not see how its reading the data length and adding 1 but getting a number too small. Did I do something wrong?
requestid
JSObject


In Sheet

@productsTPI You’d probably need to run the query before fetching the length

so try

addRequest: async () => {
await get_requestors.run()
const data = get_requestors.data.length + 1;
}


I got the same result doing it this way. Let me know what else I should try to fix this.
Thank you

I believe it was an issue with my data so I no longer need help. Thank you!

1 Like

I’m glad you’ve figured that out.