Azure Data Factory: Web Activity vs HTTP Acivity/Service

Sam Lohbeck 0 Reputation points
2024-02-09T15:18:13.44+00:00

Hi guys!

I am struggling with an issue in Azure Data Factory. Essentially, I can successfully get data from an API with the Web activity, but not with the HTTP (or REST) service.

I plug in a URL endpoint in the Web activity and POST some payload and it returns some JSON back perfectly. But, with the HTTP (or REST) service, I setup the same endpoint with the base URL in a Linked Service & a relative URL in a Source Dataset and I consistently get 403 Forbidden, or 400 Bad Request errors.

It leaves me to believe that there is some sort of authentication it is trying to do that I am missing. The company API I am accessing is internal and requires me to send a username & password in the POST itself, so there is no authentication step other than that.

I can provide more details as needed. If anybody has fought this before or has any ideas, I would appreciate it!

Thanks!

Works:

User's imageUser's image

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.