Views:

Applies to Product – Dynamics 365 Intelligent Order Management


What’s happening?
The batch job responsible for processing compensation updates is returning a "remote server not found 403" error when executed in the production environment, while it works correctly in the UAT environment.


Reason:
This appears to be related to customizations in the batch job, specifically within the class BERCompensationUpdateServiceController. The error indicates that the remote server returned a 403 Forbidden response, suggesting that there may be issues with the endpoint or authorization settings.


Resolution:

  • Verify the endpoint being used by the batch job. Ensure that it is accessible and correctly configured.
  • Check if the file URL being referenced is valid and that the file exists in the specified location.
  • Confirm whether the file URL is an UNC path or refers to a file share in a storage account, as this can affect access permissions.
  • Review the customization in the BERCompensationUpdateServiceController to ensure that it is correctly handling authorization headers for the GET request.
  • If the issue persists, engage the development team to analyze the custom code and provide insights on any recent changes that may have affected the batch job's functionality.
  • Suggest implementing retry logic in the batch job to handle transient errors.
If further assistance is needed, escalate the case to the product group for deeper investigation into the custom code and its interaction with the production environment.