Forum Discussion
urgourgo
9 years agoQrew Trainee
I've found out what the issue is and fixed it.
The problem I've described occurred when I was using Postman to prototype some of my API calls.
I was getting the error with error code 4 in requests that included a TICKET cookie and the ticket value had expired.
In other words - Even though I specifically included a <usertoken> in my request body, the QB API was picking up the outdated TICKET cookie and failing my request. When I clear the cookie, everything works as expected.
The problem I've described occurred when I was using Postman to prototype some of my API calls.
I was getting the error with error code 4 in requests that included a TICKET cookie and the ticket value had expired.
In other words - Even though I specifically included a <usertoken> in my request body, the QB API was picking up the outdated TICKET cookie and failing my request. When I clear the cookie, everything works as expected.