I have attempted to implement functionality within an Apex class to interact with the Experience site metadata API. However, I encountered issues with both reading Experience Site and creating Experience Site page.
I encountered the following error:
"WebService callout failed: WebService returned a SOAP Fault: INVALID_TYPE: This type of object is not available for this organization."
so, Is there any limitations with utilizing the Experience Site Metadata API within an Apex class?
Hi @Keiji Otsubo ,
In the Tooling API object list, there are no objects related to Custom Sites or Digital Experiences, which are available in the Metadata API.
Hi @Dhruvika Babariya ,
The issue is now solved. I have used the tooling API.
If anyone having a similar issue please check on stack exchange in below post-
https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007T42ECSAZ