Use alternateLink for the PDF to avoid 400 errors
When creating a PDF invoice, webContentLink
provides a link that will show a 403 error when the user is signed in from a different account. The new link, alternateLink
, can show an account chooser to switch to another account.