Issue in performing third party APIs


We’re currently connecting WorkflowMax with Freshdesk, utilizing OAuth for token generation within our application.

Upon reauthorization, we receive a success message. However, when attempting a third-party API call at within our app, we encounter the following response:

    "headers": {},
    "errorSource": "PLATFORM",
    "response": "Cannot read properties of undefined (reading 'type')",
    "status": 500

Interestingly, when we try the same API call using Postman, we receive a successful response.

This app was published two years ago, and we’re now encountering this issue. We’ve reached out to Xero support, and they’ve mentioned that the error message format is not typical of Xero, and they couldn’t identify any errors in their logs.

App Name: WorkFlowMax
Marketplace link: Loading...

Could you please assist us in resolving this matter?

Hey @Claret_Ivin,
Can you share your oauth_configs.json and requests.json?

Hi @zach_jones_noel

As the application was created on platform version 2.2, there isn’t an accompanying requests.json file.


  "client_id": "<%= oauth_iparams.client_id %>",
  "client_secret": "<%= oauth_iparams.client_secret %>",
  "authorize_url": "<%= oauth_iparams.client_id %>&redirect_uri= offline_access&state=123",
  "token_url": "",
  "token_type": "account",
  "options": {
    "headers": {
      "Content-Type": "application/x-www-form-urlencoded"

    "isOAuth": true
  "oauth_iparams": {
    "client_id": {
      "display_name": "Client ID",
      "description": "Please enter your client ID",
      "type": "text",
      "required": true
    "client_secret": {
      "display_name": "Client Secret",
      "description": "Please enter your client secret",
      "type": "text",
      "required": true

Hey @Claret_Ivin,
The error is when the request method is invoked in platform v2.2 or during the OAuth handshake?

Hey @zach_jones_noel

Yes, the error occurs when the request method is invoked in platform2.2.

Hey @Claret_Ivin,

We have deprecated Platform 2.2 so please upgrade to Platform 2.3

Hey @zach_jones_noel ,

This is an existing app that was published years ago.

Hi @zach_jones_noel,

Could you please provide an update on this?

Hi @zach_jones_noel ,

Could you please provide an update on this?

Hi @zach_jones_noel ,

Hope you’re good. I’m following up on our previous messages. We’re encountering a similar issue with another one of our apps, Dynamics CRM. Could you please assist us promptly?

Marketplace link: Dynamic CRM

Thank you,
Claret Ivin

Hi @Claret_Ivin,

If the error source is PLATFORM, the error is caused by our platform only. So, I have created a support ticket with our platform to check on this issue with some more details.
Here is the ticket -

Please respond to the ticket’s email thread for further communication. Thanks.