node-sdk
node-sdk copied to clipboard
Getting an empty response produces an error while trying to decrypt the empty body
Hi,
having the client with the encryption data enabled, when requesting some data, i.e. listBankAccounts, and the response is empty (empty object {}), it throws an error when trying to decrypt the body.
The expected behavior is to return an empty body without throwing any error. As it is without activating the encryption data.