Copy from REST connector into ADLS Gen2 - CopyData failed: Failure on 'Source' side

ArturFerreira 2 Reputation points
2020-06-05T18:34:25.073+00:00

Hello

I'm trying to collect data from an external api and I'm receiving the following error

ErrorCode=UserErrorPropertyInvalidOrMissing,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The property 'additionalHeaders' is invalid or missing.,Source=Microsoft.DataTransfer.ClientLibrary

The query requisition is being made by
GET
https://api.vhsys.com/v2/contas-receber/:id

the requisition body is:

curl -X GET \
https://{api_address}/v2/contas-receber/:id \
-H 'access-token: SEU (Access-Token) DE ACESSO ' \
-H 'secret-access-token: SEU (Secret-Access-Token) DE ACESSO' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \

Does anyone knows how to solve this problem?

Regards
Thanks in advance

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,997 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 17,875 Reputation points
    2023-09-09T13:52:42.5733333+00:00

    In your URL, you have :id, which suggests that you are trying to replace this with an actual value (e.g., an account ID) during the request. Ensure that you are replacing :id with a valid value when making the request through your integration tool.

    0 comments No comments