Skip to content

StatusCode "InternalServerError" when attempting to perform an upload job in RIS #175

@Ashley-Finney

Description

@Ashley-Finney

Describe the bug
When running an upload job in RIS, the job errors showing StatusCode "InternalServerError" in the .status file.
e.g.

"StatusCode": "InternalServerError",
"ReasonPhrase": "Internal Server Error",

Full .status file attached (with key's and URLs removed - uploaded as .txt file)
EMPLOYEES20240417200512.status.txt

Steps To Reproduce
.CSV file is copied to the "Input" folder ready for processing.
Job runs automatically at set time.
File is sent to the "UploadError" folder
.success file is generated in the "UploadError" folder.

Expected behavior
When a job file has processed correctly, the file is moved into the "UploadSuccess" folder and subsequently imported into D365 via the Data Management job entity staging table.

Screenshots
Event Viewer error log showing Internal Server Error. No other errors are in the log.
Event Viewer error log showing Internal Server Error

Event Viewer log showing a dequeue Activity ID of all zeros.jpg. Are all zeros correct?
Event Viewer log showing a dequeue Activity ID of all zeros

RIS validation is successful (this is version 2.4 but version 3.4 is also successful).
RIS validation successful

Recurring Integration Scheduler version (please complete the following information):
Tested with the below versions and pointing towards both the below environments.

  • Version 2.4
  • Version 3.4

Dynamics 365 version (please complete the following information):
Production =

  • 10.0.38
  • PU62 (7.0.7120.130)

Microsoft hosted tier 2 TEST environment =

  • 10.0.38
  • PU62 (7.0.7120.147)

Additional context
In Production we have version 2.4 set up and running with the same files getting imported and processed ok.

I have followed the setup steps of both RIS and the required Microsoft Entra ID requirements etc. but maybe I'm missing something somewhere? I have also compared both environment config on the D365 import job side and I believe it to be correct, although maybe I'm missing something?
https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/recurring-integrations

Event Logs attached as a .txt file as i cannot upload a .evtx file (Production URL removed)
RIS event logs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions