Has anyone got the REST WebServices to work using ...
# suitescript
l
Has anyone got the REST WebServices to work using a Python library? Or any other library? We tried it and we're getting an expired token error.
u
what library did you used?
looking at the error seems like not something thrown from a REST lib. But I normally use the restclient library unless there's an SDK provided (which in NetSuite's case, there's no integration SDK provided)
b
if the error in the login audit trail looks like AccessTokenExpired, then your 1 hour oauth 2 access token expired, you need to get a new one using your refresh token
l
we're getting invalid_grant in POSTMAN, then in Login Audit Trail it's showing "Invalid Code" error. have you guys encountered it?