Servicos_Solve4ME | 2020-04-30 18:02:56 UTC | #1
Does not send email through IVR Morning, We have the following scenario in the Mary Kay org, we have an option in the IVR that sends the email to the client, this sending stopped working this week, we performed a test in the API that does this action and we had the following feedback
Create an email conversation API
{ "message": "The request could not be understood by the server due to malformed syntax.", "code": "bad.request", "status": 400, "messageParams": {}, "contextId": "94c6e040-d92a-4180-96a5-33f24f961310", "details": [ { "errorCode": "ACTION.REMOTEENDPOINT" } ], "errors": [ { "message": "REST call for action execute failed. Message: Request to backend service failed. Response from web service: {\" message \ ": \" This request requires a user context. Client credentials cannot be used for requests to this resource. \ ", \" Code \ ": \" not.a.user \ ", \" status \ ": 400} [94c6e040-d92a-4180-96a5-33f24f961310]" , "code": "BADREQUEST", "status": 400, "messageParams": {}, "details": [], "errors": [] } ] } are you saying that I'm trying to send an email with a client credential are you saying I'm not a user
The other API that does the sending is Send an email reply.
Could you help us ?
crespino | 2020-04-30 18:05:53 UTC | #2
Are you using Architect's built-in capability to send an email reply, or are you calling a PureCloud Data Action to send that email reply from Architect?
I can tell you that the current API error you are seeing is expected when calling the API because you can only perform Conversation actions when you are using OAuth Implicit Grant or Authorization Code Grant and logged in as an agent.
tim.smith | 2020-05-01 12:05:51 UTC | #3
The deprecation of user credentials for POST /api/v2/conversations/emails was announced on 11/19/2019: https://developer.mypurecloud.com/forum/t/bug-fix-outbound-emails-on-behalf-of-queue-can-be-created-by-users-only/6395/2
Servicos_Solve4ME | 2020-05-04 17:04:31 UTC | #4
Good afternoon Tim,
Thank you for the informations.
What is the palliative suggestion regarding this topic? because in this org we used this type of e-mail sending by IVR for queue.
anon39326996 | 2020-05-04 17:11:32 UTC | #5
You can use generic email providers that support this sending, here's a list of several but there are more: https://www.techradar.com/news/best-email-provider. Genesys Cloud does not offer this functionality. You can request new features via the ideas lab.
system | 2020-06-04 17:11:36 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 7688