Webservice task not working with error in Body URL (400) | XM Community
Solved

Webservice task not working with error in Body URL (400)

  • 13 September 2023
  • 27 replies
  • 292 views

Userlevel 4
Badge +3

Hi,

 

I created a webservice task in workflow with API token for a method to update an embedded data field with a value for test.

I followed the instructions in link : https://api.qualtrics.com/daed82306b1ea-update-response

I am getting 400 error pointing to invalid URL of body. Both the settings and the error is attached.

What I am doing wrong ? It works fine when i test same in the documentation.

icon

Best answer by Nam Nguyen 13 September 2023, 15:02

View original

27 replies

Userlevel 4
Badge +3

Oh… but my API triggers a batch job which depending on data size might run more than an hour. In that case, what can I do ?

Userlevel 4
Badge +3

Also I implemented the API in webservice task (which is already tried and tested with API token method). I am getting error related to Authorization header as given below:

The API call looks like below:

the only change in call is replacing X-API-TOKEN in header key with Token and replacing API token with Bearer token prefixed by Bearer as you had mentioned earlier. 

Leave a Reply