Error with REST connector in PROD environment

Hi! I’m experiencing some issues with REST connectors (specifically Adobes Document Generation API, I’m also using Microsoft Graph to upload files to sharepoint but that is working fine) when trying to run my workflow in the PROD environment (everything is working fine in DEV), I get the following error:

Has anybody else experienced this?

br

OG

Hi,

Haven’t experienced it, but it sounds like something is blocking the access to that dll in your ProgramData folder (master of the obvious? ;))

Is it only when you run it in the debugger (from the studio)? Virus protection? Same thing after a reboot?

Yeah probably XD

It doesn’t matter if I run it from the debugger or from a client, still gives the same error. Tried rebooting without success, IT checked virus protection.

I was in contact with our support at Novacura and he suggested the following:

  1. Move PROD to a new physical server (haven’t tried)
  2. Try creating a new REST connector in PROD with another name (tried, didn’t work)
  3. Moving the entire project to PROD (so that it isn’t subscribed from DEV) (tried, together with entire new connector but still no results)

Everything else works both in PROD and DEV (even the call to get the Bearer token from Adobes API) so it’s just this generate PDF call that is not working.

/OG

Hmm, okay, maybe it is just a misleading error message. So it is just this one operation on this one endpoint (i.e adobe)? Are you uploading a binary or something to adobe by the sound of it?

Yes, it’s just this one operation from Adobe. It uses two links from SharePoint, one upload session link that I create in an earlier REST call and a link to the template in .docx format that I also get from another REST call. Then all the data I have is in the JSON in text format. But I’m not sure how the call actually works, it could be that when the JSON is merged with the .docx it’s trying to save a temporary copy of the file locally before uploading it to SharePoint which is causing the error that access is denied?

Sounds like a cool app, using a Word document, with your variables, to generate a PDF. But yes, could be something like that. Did you get it to work in Postman?
Would using the HTML to PDF connector be a workaround? That does not merge with Word document templates, but you would have to build the thing in HTML, so it’s not exactly the same thing.