Coupa is deprecating non-OAuth2.0 TBA, so I gotta ...
# suitescript
r
Coupa is deprecating non-OAuth2.0 TBA, so I gotta implement token refresh middleware. So I created this middleware which reads from and writes to general preferences. This gives 200 response codes and appears to work correctly. Only the subsequent request for an invoice fails with a non-descriptive 500 error. I can do the same thing from Postman successfully.