Error when testing API calls

Hi there, it’s Damiano :slight_smile:

I’m new to VoiceFlow, so still in the middle of the learnigin curve :slight_smile:

I’m trying to connect an API to the Alexa skill I’m building with VoiceFlow using the Integrations block as shown in the tutorials, but can’t really understand why it’s not working.

I’m getting this reply when testing it:

Request succeded
“ERROR” : { 1 item
“message” : src property must be a valid json object"

Does anyone know what this means and how to solve it?

If someone with more experience could share his knowledge, it would be very useful to speed the learning curve :slight_smile:

thanks for your help, have a nice day!

Damiano Caffa

Hi Damiano,
In regards to tutorials, this is the most recent one, and you might check your configuration and testing against it.

I have run into this before when say it is a post request and you get a 201 back from the API, which means success no content. The post call seems to work as expected, though I tend to add a {“status”: “1”} now if it is my API because the error annoyed me lol. Is this a post call? or a call you expect data back in?

For my case, it happed when the endpoint was returning text and not JSON.