Getting error on trying to call a REST API on Data Factory
Joffre L. A. Mota (LG lugar de gente)
0
Reputation points
Through Postman, I'm able to request a token using the following curl request - some info were hidden for security purposes.
curl --location 'https://hidden/Token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=hidden' \
--data-urlencode 'client_secret=hidden'
On Data Factory, I've tried both Web and Copy Data Activity, but got the same result.
I'm using the following header configuration.
But I'm unable to get the successful result that I get on Postman.
Postman result:
Data Factory result (I'm 100% sure that the client is valid, since I'm copying it from Postman instead of typing):
Let me know what more evidences I may share.
Sign in to answer