Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Error response returned from Offer API when tested from SOAPUI

Avatar

Level 6

Hello Folks,

Hope you're doing good and safe!

I am trying a Interaction API call (Propose Method) from SOAPUI and below are the details:

Request URL: https://<SERVER_NAME>/interaction/liveRcp/sms.

Where, liveRcp is Environment and sms is Offer Space. 

Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:nms:interaction"> <soapenv:Header/>
<soapenv:Body>
<Propose>
<sessiontoken>SESSION_TOKEN</sessiontoken>
<targetId>EMAIL_ID</targetId>
<maxCount>2</maxCount>
<categories></categories>
<themes></themes>
<context>
<interaction>
<inbound>true</inbound>
</interaction>
</context>
</Propose>
</soapenv:Body>
</soapenv:Envelope>

So before hitting this, I created Offer Space, Offer and published to Live successfully. But the response I am getting is as below

Response:

<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://xml.apache.org/xml-soap" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultstring>The offer space with the 'liveRcp|sms' key hasn't been published.</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

As offer space is published and present in live, unable to understand as why this error is returned.  Checked similar posts posted earlier, but no luck. Would request your help here, quick response is appreciated.

 

Thanks,

Sri Bhargav

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

Is the published offer space's internal name 'sms'?

You can check publication by querying xtk:reportHistory schema, it's where compiled spaces are output.

 

Thanks,

-Jon

View solution in original post

0 Replies

Avatar

Level 6

Folks,

Any suggestions on this ? Please help with this

@Adhiyan , @Vipul_Raghav @Jonathon_wodnicki ...

Regards,

Sri Bhargav

Avatar

Level 6
Folks, Any update on this. Please help with your inputs!

Avatar

Correct answer by
Community Advisor

Hi,

 

Is the published offer space's internal name 'sms'?

You can check publication by querying xtk:reportHistory schema, it's where compiled spaces are output.

 

Thanks,

-Jon

Avatar

Level 6

Thank you all for the inputs. I am able to resolve this error now.

Thanks,

Sri Bhargav