SuiteCRM Lookup not working

PatSh

Customer
Joined
Jul 8, 2020
Messages
3
Reaction score
2
Hi all.

Our CRM-Template to lookup contacts from SuiteCRM does not work.
I think, the authentication works as expected, but then the lookup is not triggered but throws an exception.

This is the shown error, if I test the lookup on the management console: (it doesn´t make any difference, if searching with the 555-1234 or with a really existant number with or without dashes)

1742815538275.png


If testing authentication and the lookups directly on the CRM via Postman, everything is working.

Does anybody have an idea what could be wrong?
 

Attachments

Yeah introduced in Update 5 to fix a bug from Update 3, that will now be fixed in Update 6.

It's expecting a RefreshToken parameter of type OAuth (see other templates for reference.) It can't find one in some templates that don't use OAuth so it breaks. It's related to the access/refresh token storage.
 
Thank you @ConceptsWeb

So we have to wait for Update 6 to get that fixed? Maybe we can get around by adding an additional scenario and setting the refresh_token to the value of the access_token?
 
No need for any scenario.

Just add an empty RefreshToken parameter with basic values. It won't be used but it will avoid the error.
 
No need for any scenario.

Just add an empty RefreshToken parameter with basic values. It won't be used but it will avoid the error.
That did the trick! Thank you very much for pointing to the right direction!