I am generating PDFs using the “Generate Document” action node. Even though the template string stays the same, the action fails often. The error messages I get are:
Access to XMLHttpRequest at 'https://pdf-service.appfarm.io/api/v1/generate' from origin 'https://bevart-dev.appfarm.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
POST https://pdf-service.appfarm.io/api/v1/generate net::ERR_FAILED 502 (Bad Gateway)'
The error seems to occur when I am testing multiple times and generally does not happen the first time I generate a PDF after a while.