Skip to main content

Error messages returned in the getUserInfo interface are ignored


  • New Participant
  • 2 replies

When returning an error message in the getUserInfo function it seems to be ignored. As soon as I return a response where successful: false it will display the default “failed to register api key” message.

See snippet below that i tried out in the getUserInfo function.

I included the platformUserInfo block to see if that affects the behavior but with or without it the result is the same.

Additionally: I see the findContact function also seems to ignore errors as they are not displayed in the RC UI. 

Any feedback would be greatly appreciated.

return {
            successful: false,
            platformUserInfo: {
                id,
                name,
                timezoneName,
                timezoneOffset,
                platformAdditionalInfo: {}  
            },
            returnMessage: {
                messageType: 'warning',
                message: 'Need license.',
                ttl: 3000
            }
        };

 

3 replies

sushilmall
Community Manager
  • Community Manager
  • 15 replies
  • March 7, 2025

@Jeroen 

Which version of the SuiteApp are you using? what is the version of NetSuite is it 2024.2 or 2025.1?


  • Author
  • New Participant
  • 2 replies
  • March 7, 2025

Hi,

I am developing a connector myself for Freshdesk. Not using NetSuite / Suiteapp.

So my problem is with the actual interface itself. Any thoughts?

With kind regards,

Jeroen


dakong
Community Manager
  • Community Manager
  • 34 replies
  • March 10, 2025

@Jeroen 

It should already be patched in latest commit in main branch. Please give it a try。

 

Also a quick reminder, this framework is under rapid development, therefore dev docs might not always be up-to-date. Please refer to existing CRM adapter and manifest as examples.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings