Skip to main content
Amplifying the VIBE
Mar 7, 2025 7:51 AM UTC

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
Mar 7, 2025 11:12 AM UTC

​@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
Mar 7, 2025 3:38 PM UTC

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
Mar 10, 2025 1:45 AM UTC

​@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.