Difficulty Connecting to SuiteAPI
Hey everyone,
I’m looking to set up and use Tim Deitrich’s SuiteAPI. To the best of my ability, I’ve set up everything correctly according to this guide.
However, when attempting to connect using Insomnia’s Post request with a JSON payload using OAuth1 and the various key/secret fields, I get an “INVALID_LOGIN_ATTEMPT” every time. Has anyone been able to successfully set this up before? What am I missing?
Let me know if there is more information that I need to update the post with.
Thanks
I haven’t tried that API, thanks for sharing.
Are you able to connect to any RESTlet at all? If you’re using a sandbox, please know that you need to pass the account ID using an underscore (eg. 123456_SBX).
Supposedly it’s fairly helpful, assuming you can get connected.
That definitely was one of my issues, but after switching to the underscore, I am now getting
“code”: “UNEXPECTED_ERROR”,
“message”: “Cannot invoke \”com.netledger.core.session.NLSession.getCompany()\” because the return value of \”com.netledger.app.site.hosting.restlet.getNLSession()\” is null”
which I guess is progress?
Might be a credentials thing.



