I am able to create custom field on sf object using apex code. But now I want my when a an guest user request with a JSON, I want to create some fields on sf. I am running the same code when request is coming from external system. But I am getting error for the same code which is working in developer console.
System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: UNKNOWN_EXCEPTION: Site under construction faultcode=UNKNOWN_EXCEPTION faultactor=
I have modify all checked for the object on which I am trying to create custom field. All the class are added to gust user profile. Do any one have any idea