Hello,
I'm getting started using Cvent's REST API, and I get the following error when I attempt to create an access token:
Authorization header requires 'Credential' parameter. Authorization header requires 'Signature' parameter. Authorization header requires 'SignedHeaders' parameter. Authorization header requires existence of either a 'X-Amz-Date' or a 'Date' header. Authorization=Basic [MY_BASE64_ENCODED_ID:SECRET]
Here is the curl command I'm using (with sensitive info replaced with bracketed placeholders):
curl -X POST
https://api-platform.cvent.com/ea/oath2/token -H 'Authorization: Basic [MY_BASE64_ENCODED_ID:SECRET]' -H 'Content-Type: application/x-www-form-urlencoded' -d 'grant_type=client_credentials&client_id=[MY_CLIENT_ID]'
It seems from looking at
https://developer-portal.cvent.com/documentation#section/Getting-Started/Authentication that the only headers required are Authorization and Content-Type, so I'm at a loss why the error mentions those other headers.
Any insight or suggestions would be awesome. Thank you!
#Miscellaneous
------------------------------
Cheers,
Dave
------------------------------