I am trying to get data from Netsuite using RESTlet. For that, i am using the following details in PHP:
- Consumer Key
- Consumer Secret
- Script Id
- Deploy Id
- Access Token Id
- Access Token Secret
At first time of using these details, i got that error is Invalid login attempt. I found why it is coming , because of the following any one or all of the wrong details.
- Consumer Key
- Consumer Secret
- Access Token Id
- Access Token Secret
After giving correct details it works fine and i stored all these details in DB. I didn't change anything. But after few days i am getting the same error.
I want to know whether the access token will expire after some days or why the error is coming.