AnsweredAssumed Answered

Http Server, Code 400: Bad Request when adding query params

Question asked by colin.fitzpatrick697051 on May 10, 2018
Latest reply on May 11, 2018 by colin.fitzpatrick697051

Hi,

 

I'm trying to query outlook's calendar API using the HTTP Connector (Not the OData Client Connector - this will not work for me).

 

My query works when I don't add Query Parameters ... but does not work when I add them:

 

So this works:

-  https://outlook.office.com/api/v2.0/users/xxxx@xxxxx/events

But this does not:

 - https://outlook.office.com/api/v2.0/users/xxxx@xxxxx/events?$filter=iCalUId eq 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

 

Both work correctly in postman

 

Looking at the logs, the URL appears to be generated correctly, and when copied/pasted from the logs to Postman it work as expected.

 

In boomi I I get a response of  "HTTP Error 400. The request is badly formed." for the second query.

 

Since the query works as expected without the query params I don't think it's an Authorization issue, or header issue (but I could be wrong).

 

I've tried url encoding the all (and some) of the string, but it hasn't helped. 

 

Any next steps to try?

Attachments

Outcomes