You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

fusion application oci create_refresh_activity returning error.

edited Mar 17, 2025 9:56PM in OCI - General

Summary:

I am using the python SDK, create_refresh_activity within OCI and receiving an error about an optional parameter. This is the request:

create_refresh_activity_response = fusion_apps_client.create_refresh_activity( 
   fusion_environment_id=inst_ocid,    
create_refresh_activity_details=oci.fusion_apps.models.CreateRefreshActivityDetails(    
     source_fusion_environment_id=src_ocid,    
     is_data_masking_opted=data_masking,    
     time_scheduled_start=timescheduledu    )    )

and this is the response/error

raise exceptions.ServiceError(

oci.exceptions.ServiceError: {'target_service': 'fusion_applications', 'status': 400, 'code': 'InvalidParameter', 'opc-request-id': '05CD4E8C39C941908284467F29DBCD9B/829147EFE563A9AE899741A05EA8A7AB/BC2DD88D933C42DD44B9F8A47A9D1234', 'message': 'Unable to process JSON input', 'operation_name': 'create_refresh_activity', 'timestamp': '2025-03-10T17:26:16.557186+00:00', 'client_version': 'Oracle-PythonSDK/2.147.0', 'request_endpoint': 'POST https://fusionapps.us-ashburn-1.oci.oraclecloud.com/20211201/fusionEnvironments/ocid1.fusionenvironment.oc1.iad.aaaaaaaamoegpzmsidb2jhc24wppbbq3env7tw3prlie6jzhzh4cuxf3p4oq/refreshActivities', 'logging_tips': 'To get more info on the failing request, refer to https://docs.oracle.com/en-us/iaas/tools/python/latest/logging.html for ways to log the request/response details.', 'troubleshooting_tips': "See https://docs.oracle.com/iaas/Content/API/References/apierrors.htm#apierrors_400__400_invalidparameter for more information about resolving this error. Also see https://docs.oracle.com/iaas/api/#/en/fusion-applications/20211201/CreateRefreshActivityDetails/CreateRefreshActivity for details on this operation's requirements. If you are unable to resolve this fusion_applications issue, please contact Oracle support and provide them this full error message."}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!