You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was unhappy with the other python Netsuite API because it doesn't support most endpoints. So I was really hoping this library would do the trick, but I'm afraid it just doesn't work. It's not raising an exception, it's not returning any results, it's just doing nothing.
# I know these authenticaion values work because I am able to pull a
# list of Accounts _with the other python Netsuite API_
ns_client = NetSuite(
Config(
account=<my account id>,
auth=TokenAuth(
consumer_key=<my consumer key>,
consumer_secret=<my consumer secret>,
token_id=<my token key>,
token_secret=<my token secret>
)
)
)
# But I can't seem to raise an exception or get any results. Nothing ever happens.
len(await ns_client.soap_api.getList('account', internalIds=[])) # Returns 0
len(await ns_client.soap_api.getList('account')) # Returns 0
Teach me to fish here. How do I debug what's going wrong? And why isn't your library raising exceptions when things go wrong?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was unhappy with the other python Netsuite API because it doesn't support most endpoints. So I was really hoping this library would do the trick, but I'm afraid it just doesn't work. It's not raising an exception, it's not returning any results, it's just doing nothing.
Teach me to fish here. How do I debug what's going wrong? And why isn't your library raising exceptions when things go wrong?
Beta Was this translation helpful? Give feedback.
All reactions