walin9 | 2024-05-27 18:56:51 UTC | #1
Sometimes our deployment is slow due to our CI/CD doing many security checks. This may cause an issue where the prompts end up corrupted. A corrupted prompt returns the following error:
We can also see the following error in the pipeline.
2024-05-13T18:26:21.666Z [INFO] provider.terraform-provider-genesyscloud_v1.29.0: 2024/05/13 18:26:21 Content of upload: <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
</body>
</html>
: timestamp=2024-05-13T18:26:21.666Z
It is an issue for us since our pipeline will often be slow and we believe that Genesys is timing out.
John_Carnell | 2024-05-28 21:18:41 UTC | #2
Hi Walin,
A couple of things:
- You are running a really old version of CX as Code. I would recommend you upgrade to the latest CX as Code provider.
- Please turn on the SDK debugging in the provider and set the TF_LOG=json. If you are able to see in the logs the correlation id of the call for the prompt, this could help. This is more then likely not a problem with CX as Code itself but rather the underlying API that is being called.
Thanks, John
system | 2024-06-27 21:18:56 UTC | #3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 26485