Custom object with ArrayList throws error

I have following custom code

when I call from codeless page:

It throws error:

but my debug log says that there are two messages.

how do I read those messages? what am I doing wrong?

What do the print statements from the Codeless page print?

Hello @Sanjay_Christian

could you please create a test page only with a button which on click calls the API Service and provide us with the URL to the page

it always returns an empty array and no errors

oh, I didn’t specify the time correctly

yes, I can see the error

the error comes from your API Service, I can recommend you to debug it

Yes, I fixed that. thanks.

1 Like