Hi Tony Johansson,
Thank you for posting query in Microsoft Q&A Platform. Thanks for sharing screenshots. From screenshots its clear that the response in JSON LD type (JSON linked data). Hence from ADF when you are making API call its throwing error.
To avoid this error use
Content-Typeheader value asapplication/ld+json.
Hopefully that should solve your problem for failed API calls from ADF. Kindly let me know how it goes.
---------------
Please consider hitting Accept Answer button. Accepted answers help community as well.