Recently I had come up with a strange issue when trying to publish SharePoint 2013 Workflow. The error is
After Re-registering the Workflow Service in PowerShell using the -force parameter the error gone and the workflow published successfully.
Register-SPWorkflowService –SPSite http://sharepointsite –WorkflowHostUri http://localhost:12291 –Force