Cannot Upload JSON to Queue in Orchestrator

How to resolve when "An error has occurred" error occurs, when uploading JSON to Queue in Orchestrator?

If below error is logged in Event Viewer, ensure the value of type is all lower-case. Example - string, int, etc.,

Example of an invalid object is as below -

Example of a valid object is as below -