Integration Hub: Create New Spokes - Test Trivia Spoke - empty Response Body

Joanna17
Tera Contributor

Hi, 

 

I'm working my way through the lab for the Integration Hub: Create New Spokes course, Test Trivia Spoke flow. I followed the instructions and included the Get Trivia Answer action with get Answer Method into my Test Trivia Spoke flow. However, when I tested it, the response body was empty. 

Do you know how I could fix that? Or what I might have done incorrectly?

 

Thanks!

step output data.png

 

3 REPLIES 3

Brad Warman
Giga Sage

Hi @Joanna17. it's hard to say without seeing the script or flow, but when creating objects you need to make sure you're passing strings for the value, unless that value is an array or another object.

 

Check your inputs to make sure they are strings.

 

If its not that, have a look at the http logs to get an idea whether there was an issue accessing the endpoint.

 

Hope this helps.

 

Cheers,

 

Brad

rajumunta
Kilo Sage

Have you done this step right?

rajumunta_0-1754669443157.png

If my response proves useful, please indicate by selecting ‘Accept as Solution’ and ‘Helpful’. This action benefits both the community and me.

rajumunta
Kilo Sage

Check the instructions once again carefully step by step to ensure you haven't missed anything. The Lab instructions are pretty much detailed.


https://learning.servicenow.com/lxp/en/pages/learning-course?id=learning_course&course_id=fcf519f093...