function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shweta GargShweta Garg 

Read Report Metadata through Metadata API

Hello Developers,

I am trying to delete report using metadata API. My code is working fine in one org.But when I move my code into client;s ORg.It did not work.
I checked my debug  logs and found this error messaage. "message=In field: members - no Report named Custom_Folder/Report1 found".
Custom_Folder is the folder developer name and Report1is the report developer name.They both exist in my org.
I also checked the permission of folder. I have given Read/Write access to folder. But Still metadata API cound not read the Report.
Is the issue related to permissions or is there any other  thing going wrong?

I am in urgent need . Please help me.


Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Shweta,
May I suggest you please refer the below link for reference.

Best Regards
Rahul Kumar