I was able to make the unauthorized error go away by following the answer given by Jagjeet Singh Makhija in this link
I passed cookie as header in web activity and value specified here and it was able to complete post call successfully.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I am in the process of designing a pipeline of writing back to api using endpoint of SAP.
I was able to do a post call and get the needed resultset from postman.
While the same end point is giving unauthorised error in adf.
I am not sure if this is a network error
I am generating a token which I am passing as a header value in post call.
BODY has the {}
Do I have to select something in authentication
I was able to make the unauthorized error go away by following the answer given by Jagjeet Singh Makhija in this link
I passed cookie as header in web activity and value specified here and it was able to complete post call successfully.
I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.
Issue:
I am in the process of designing a pipeline of writing back to api using endpoint of SAP.
I was able to do a post call and get the needed resultset from postman.
While the same end point is giving unauthorised error in adf.
I am not sure if this is a network error
I am generating a token which I am passing as a header value in post call.
BODY has the {}
Do I have to select something in authentication
Solution:
Adding the cookie as a header in Web Activity resolved the issue, and my POST call is now successful.
"Thank you, @Jagjeet Singh Makhija, your solution worked perfectly. I appreciate your help!"
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
I hope this information helps. Please do let us know if you have any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.