I am not being able to connect to clover using the API token and merchand ID. I get unauthorized access as a message. What should I do to get access to Clover?
I am not being able to connect to clover using the API token and merchand ID. I get unauthorized access as a message. What should I do to get access to Clover?
If you haven't already, follow the directions here: https://docs.clover.com/build/web-app... I recommend experimenting with curl, or another http client tool first.
If you are still having issues, please describe what exactly you are attempting in as much detail as possible.
--edit--
Looking at your additional comments (please post comments in the comment sections, instead of as answers) I recommend the following:
Confirm you have a working token with the expected permissions by POSTing to: https://apisandbox.dev.clover.com/v3/access_tokens/{yourToken}
It should return a JSON list of all the permissions on that token.
Double check that you have the correct merchant UUID (it will be in your URL when you log in to the merchant's home dashboard)
Finally, I strongly recommend testing your http request with a curl, or test client like Postman so you can isolate API issues from any potential implementation problem.
This solved our issue. Who needs to be contacted to update the documentation? Merchant ID != Merchant UUID and the documentation states over and over Merchant ID.
This is the current scenario I am in,
I am trying to access Clover and integrate it real time with an ERP system. I have developed a proxy class from visual studio which would be a platform for this integration. I tested the proxy with some other API, works fine. But I am not able to gain access via the access token from setup and merchant ID. The URL I used to gain access is: https://apisandbox.clover.com/v3/merc... token].
I am currently struggling to get in into Clover for a while now.
Can you please verify that you have the correct permissions applied to your access token? https://apisandbox.dev.clover.com/v3/...
I still get the 401 unauthorized error message. The URL I used is: https://apisandbox.dev.clover.com/v3/... /employees?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.The access token I created from the setup app has read/write checked on everything. Also I have created multiple API's and tried them all with different set of permissions on different items and still I get the same 401 unauthorized message
To give more description on my scenario: I created a web service in Visual studio and used the URL as mentioned above to create a web service reference. Got the same error. https://www.clover.com/api_docs#!/inv.... To test my api, when I put in my api token generated from the setup app and my merchant ID from my dashboard, I do not get any response to the get commands in the above link.
I tried to establish connection with curl too. I get the same 401 unauthorized error. http://pastebin.com/KipbQLNF the pastebin has the output of my curl command. Any help in this matter will be highly appreciated.
3 People are following this question.