Server error when I am trying to get a token using POSTMAN
I am trying to follow the apikey authentication and i am using POSTMAN to test this. Below is my request but I am getting 500 server error.
POST /auth/token HTTP/1.1
Host: oauth.wildapricot.org
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Cache-Control: no-cache
Postman-Token: b0e747fe-861b-954e-0f70-011fc0f94d88
Content-Type: application/x-www-form-urlencoded
also I tried with scope and grant type
POST /auth/token?granttype=clientcredentials&scope=auto HTTP/1.1
Host: oauth.wildapricot.org
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Cache-Control: no-cache
Postman-Token: ee9d3021-4238-a403-e028-6d7ef4aba5ee
Content-Type: application/x-www-form-urlencoded
Response:
{
"Message": "An internal error has occured. Please contact Wild Apricot support.\r\n Request ID:0531c255bfc84e1484fefe00d34ab82a."
}
-
Hi,
Please don’t ever share private information on forum. The authorization header you shared contained API key, so anyone can access your account. Please delete that api key and create a new one for your application.
Regarding your question: scope and grant_type should be passed in request body, not in a query string. POSTMAN has a tab “Body”, you can set the parameters there.