Error response returned from Offer API when tested from SOAPUI

Avatar

Avatar
Springboard
Level 4
Ssb_94
Level 4

Likes

45 likes

Total Posts

118 posts

Correct reply

3 solutions
Top badges earned
Springboard
Establish
Affirm 3
Contributor 2
Give Back 25
View profile

Avatar
Springboard
Level 4
Ssb_94
Level 4

Likes

45 likes

Total Posts

118 posts

Correct reply

3 solutions
Top badges earned
Springboard
Establish
Affirm 3
Contributor 2
Give Back 25
View profile
Ssb_94
Level 4

29-04-2021

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
wodnicki
MVP

Likes

977 likes

Total Posts

1,096 posts

Correct reply

516 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile

Avatar
Establish
MVP
wodnicki
MVP

Likes

977 likes

Total Posts

1,096 posts

Correct reply

516 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile
wodnicki
MVP

03-05-2021

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

Answers (2)

Answers (2)

Avatar

Avatar
Springboard
Level 4
Ssb_94
Level 4

Likes

45 likes

Total Posts

118 posts

Correct reply

3 solutions
Top badges earned
Springboard
Establish
Affirm 3
Contributor 2
Give Back 25
View profile

Avatar
Springboard
Level 4
Ssb_94
Level 4

Likes

45 likes

Total Posts

118 posts

Correct reply

3 solutions
Top badges earned
Springboard
Establish
Affirm 3
Contributor 2
Give Back 25
View profile
Ssb_94
Level 4

05-05-2021

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

Thanks,

Sri Bhargav

Avatar

Avatar
Springboard
Level 4
Ssb_94
Level 4

Likes

45 likes

Total Posts

118 posts

Correct reply

3 solutions
Top badges earned
Springboard
Establish
Affirm 3
Contributor 2
Give Back 25
View profile

Avatar
Springboard
Level 4
Ssb_94
Level 4

Likes

45 likes

Total Posts

118 posts

Correct reply

3 solutions
Top badges earned
Springboard
Establish
Affirm 3
Contributor 2
Give Back 25
View profile
Ssb_94
Level 4

30-04-2021

Folks,

Any suggestions on this ? Please help with this

@Adhiyan , @Vapsy @wodnicki ...

Regards,

Sri Bhargav