Genesys Cloud Developer Forum

Speech And Text Analytics Delete program api error response change

Description

Speech and Text Analytics DELETE program api returns an error when trying to delete the default program without setting the "forceDelete" query param set to true (status code 400). The error code in this case was changed from "bad.request" to
"deleting.default.program.is.forbidden". The error status code was not changed and remains 400.

Change Category

API

Change Context

This was made to provide a better error message to the end users - an informative code error is better than a general "bad.request"

Change Impact

Each user that uses the service API directly will get a different error response. Before the change: "bad.request" After the change: "deleting.default.program.is.forbidden"

Date of Change

Mar 15, 2022

Impacted APIs

DELETE /api/v2/speechandtextanalytics/program/{programId}

References

GIA-9255

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.