I am performing API calls from Okta Workflows and am encountering an error when attempting a DELETE call to delete a phone. I don't think it's my environment as I can perform GET's and PATCH's without issue.
Hi @DeeQ
This is probably a bug since phoneId is the only parameter for that request. I would expect a 404 not found type response if the phone didn't exist, or something more descriptive if there was some other problem with the phone id.
Please open a case with Genesys Cloud care to report this and get it resolved
You might want to double-check the value you are passing to the API call. I believe the API is expecting a guid. If you pass a guid and it does not exist you get a 404. If you pass a non-guid you get a 400 which would be more consistent with a malformed syntx.
Thanks,
John Carnell
Director, Developer Engagement
This behavior is being observed on all DELETE calls. I opened a ticket with Genesys Support and they are still looking into it.
We found a lot of issues with the way we were handling the API calls within Okta Workflows. Now that we ironed out all those problems, we can confirm the issue is somewhere beyond Okta Workflows.
My current speculation is that since cloudfront is mentioned in the response data, it's something to do with Genesys' AWS configuration.