Skip to main content
Solved

http caller rejects the request

  • January 5, 2023
  • 2 replies
  • 40 views

f.kemminje
Contributor
Forum|alt.badge.img+11

I must use the http caller transformer to obtain the token value from the rest end point.

However, I am unable to connect via FME. postman returns valid output. I get a notice that reads "invalid clientid or secret," but when I use the identical parameters, Postman returns the response body. Why is FME unable to make it happen?

I made numerous adjustments but in vain. kindly assist

Best answer by david_r

You have to be mindful about how you're sending the request body with the parameters, the terminology and GUI between FME and Postman isn't quite identical. When encountering such problems, using something like Telerik Fiddler can be very helpful for debugging.

This should give similar results to Postman, notice how the upload body is specified:

image 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

pimc
Contributor
Forum|alt.badge.img+8
  • Contributor
  • 16 replies
  • January 5, 2023

Hi @f.kemminje​ 

Would you be able to share your HTTPCallers configuration?

 

Thanks!


david_r
Celebrity
  • 8391 replies
  • Best Answer
  • January 5, 2023

You have to be mindful about how you're sending the request body with the parameters, the terminology and GUI between FME and Postman isn't quite identical. When encountering such problems, using something like Telerik Fiddler can be very helpful for debugging.

This should give similar results to Postman, notice how the upload body is specified:

image