Hi Team,
I am able to pull the data using get method by defining it into 'Manage API query'.
But to post data back to outreach application I am using 'Manage API extract'
with same details i.e., Bearer token. and I get below error:
[Error]: {
"error" : "Invalid JWT token.",
"description" : "The JWT token could not be decoded."
}
Please Help.
Thanks
Sounds like your token has expired? Do you need to refresh it first? Otherwise check your API documentation, hopefully that will outline the correct format for the POST request.
Try through Postman first, that's my first port of call whenever I'm setting up a new API query. I verify that it can be done via Postman then I replicate the setup in Matillion.
@SB699925 I tried with postman and its working using postman.
So now just replicate that setup in Matillion. One trick is to turn on the auto debug (level 2 or 3) and check the logs. That will let you see how Matillion is shaping the request so you can check against Postman (headers) etc.