Unexpected character encountered while parsing value: A. Path '', line 0, position 0.
This suggests the connector output is empty which would explain why the file remains empty. If my assumption is correct then I don't understand why this happens. I have created the correct API call in the Insomnia application first and I get the expected json result:
(Don't worry about data sensitivity because the data comes from a test account.)
All the API call needs is a URL and these 5 headers (including a token). In SF I've set the parameters as follows:
With 5 headers as a single value containing 5 lines being:
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: Bearer cb3987a4-ee55-4f31-acbc-************
ipp-company-id: 1599238
ipp-application-type: Visma.net Financials
The output of the HTTP connector goes into a parameter called json_output which in turn is used as data input in a write file connector. The text file used for output is accessible to the user account under which I run the application.
What could be causing the file to remain empty?