Has anyone else encountered this? I am trying to make a POST request to the API endpoint -
https://lastpass.com/enterpriseapi.php - and have structured my post so that it follows the guidelines in the documentation here. When I make the POST request using Postman, I get data back as expected, but when I make the same POST programmatically from AWS Lambda I get the following error:
Any idea what's going on here?
Request headers:
{
'Content-Type': 'application/json'
}
Request body:
{
'cid': '<our customer id>',
'provhash': '<super secret provisioning hash>'
'cmd':'reporting',
'data': {
'from':time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(startTime)),
'to':time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(currentTime))
}
}
Request URL:
Hi @
If you've followed the guidelines in the Enterprise AP documentation and it's not working as expected, we would recommend reaching out the LastPass Enterprise support team for assistance. You can access the support phone number through your LastPass Admin Console > Support or if you can't access the admin console you can request a callback by scrolling down and clicking "Contact Support" on this page and entering your business account info and you should then be given the option to receive a callback usually within less than 5 minutes: https://support.logmeininc.com/lastpass/help/how-do-i-contact-customer-support-for-lastpass-lp010121