Skip to main content
Amplifying the VIBE
March 7, 2025

Error messages returned in the getUserInfo interface are ignored

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
Employee
Employee
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?

JeroenAmplifying the VIBEAuthor
Amplifying the VIBE
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
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.