Https connector function error

Hi guys,
I’m working on Https connectors to integrate our ERP (Microsoft dynamics 365 Business Central) with tulip to get data from ERP and update data from Tulip. I was able to establish the HTTPS connector between ERP and Tulip, but when I try to run GET function the following error pops:

There was an error while testing the function: [500] OAuthError: OAuth Token Refresh Response Invalid - Error refreshing OAuth token: invalid_request: AADSTS900144: The request body must contain the following parameter: ‘grant_type’. Trace ID: bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0 Correlation ID: dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb Timestamp: yyyy-mm-dd hh:mm:ss

I hope any one of Tulip experts helps me in resolving the issue.

Thank you in advance for the help.

Hi @Kousikdh
we are using Dynamics too and when we set up Tulip I “learned” from our Dynamics support IT, that for security reasons Microsoft doesn’t allow the direct access. That’s why we needed an “exchange” database for the Tulip access, in which all required Dynamics tables are synchronized (only one way, all 15 minutes for our use cases).
The first step to test our use cases was to read only from this exchange database, then to write data back (without any back synchronization) and in the last step we synchronized in both directions the GET and POST data between Dynamics and this exchange db.

Whether this is really necessary or not, I cannot say :wink:

HTH
Chris