Get Children names: sharepoint activity throwing error

I am getting below error on using fetching file names from sharepoint inside sharepoint application scope :

children names: Cannot contact web site ‘https://xyz.sharepoint.com/’ or the web site does not support SharePoint Online credentials. The response status code is ‘Unauthorized’.

can anyone help on the same ?

I have the same error, did you resolve?

Yes @salvatore.quimi .

Please follow below link and it will resolve your issue.
Register SharePoint Add-ins | Microsoft Learn