Hello, i have a problem while calling a REST API Connection the following message occurs: The following represents my data model: So everything what has _Import in its name i made an import mapping for the xml object that should be in the rest api response, the _Export entities are ones i export (request) in the rest api call. I created a microflow to create the export objects, which will be my request: So at first i create an object of type transaction_export, then create another of type persUser_Export, associate them and return transaction_export for a data view. Then i created another microflow for the rest api call: It hast the transaction_export object as an input, then i retrieve the associated peruser_export object via the association and call the rest api connection (transaction_export as request, transaction_imprt as response). Finally i create the association between the transaction_import and _export objects. Can somebody help me with this? Best Regards, Max
asked
Maximilian Greß
2 answers
0
You are getting a 415 error back from the API you are calling. This usually means the Content-type or Content-encoding HTTP header has not been set correctly. To fix this, check the APIs documentation and see if it asks for this? If you need to set the Content-type, you can do this in the Call REST action, click into the HTTP Headers tab, and add it there as a Custom HTTP Header.