How to Fix Invisible/Blank PDF Returned by Postman with 200 Status Code in Node.js?

Basically, I am calling one third-party api which gives an response like 200 with actual pdf that is visible on postman. Third party API Response –

And I have created one endpoint in aws lamda node js in that I am calling the same third-party api and returning data as it is and its showing 200 on postman. But blank pdf is showing in response.

Tried all below approaches –

  1. Using Arraybuffer way, And Postman response –
  2. Convert it into base64 data approach
  3. Returning “isBase64Encoded”: true