We are using a data action to retrieve the url from survey.url, in the genesys test zone everything is fine, but when we implement it in architect it gives us this error, can you help us?
Typically when a data action works in test mode but fails in architect it is because unexpected input is going to the data action. You can try hard coding the flow to have a known good input and see if that works. If that doesn't help point out the problem then you can work with support to see exactly what is being sent to the data action.
I took a look at the JSON file that you attached, it appears to be a survey, not a data action export.
I took a look at the correlation ID that you provided but couldn't really tell what went wrong from that. I am happy to take a quick look at an export of your data action, but you may want to start a support case as well. I can't look very deeply into problems on the forum.
Hello, thank you very much jason, I just checked what you tell me but it keeps giving me the same error from architect.
URL modificate: /api/v2/quality/surveys/scorable?customerSurveyUrl=$esc.url(${input.p_SurveyURL}) or
/api/v2/quality/surveys/scorable?customerSurveyUrl=$esc.url($input.p_SurveyURL)
Error in architect: NOT_FOUND status : 404 correlationId : 42b06959-d783-42ea-b988-666f6591f0e2 entityId : entityName : userMessage : The requested resource was not found. userParamsMessage: userParamsKey : userParamsValue : detailsErrorCode : ACTION.REMOTE_ENDPOINT
If you are trying to invoke this Data Action from the Architect Survey Invite flow, it will most likely fail.
At this stage, I don't think the survey exists already - as you have not invoked yet the "Complete Survey" action in the architect flow.
So you do get a survey url, but it will only be effective/valid once you have gone through "Complete Survey" action and once the survey is "created" in Genesys Cloud.