Closed burla69 closed 4 years ago
You are probably using always the same mkey activated on one of the environments and then it doesn't work on other. When switching environment you need to activate mkey via API for that environment.
Every time i use new mkey. But have Invalid MKey signature error We use this API to activate mkey: /v1.1/me/devices/{id}/mkey
Maybe you have some sample example projects where i can check implementation
Hmmm, then maybe you use wrong api public key. Be sure that you are using correct api public key. Mentioned endpoint is only to fetch mkey for device. Before that you need to execute PUT request to update certificate.
I do not have example project. Did you get document which describes mobile key activation?
I do not have example project. Did you get document which describes mobile key activation?
Yes. I have documents on dropbox. And i use right api key.
But it works only when i put ACCEPT api key. With this api key i can open all my locks
It should work then. Maybe you missed something else. Are you sure you are also switching API url for each environment? Maybe you are activating always on Accept?
ohhhhh, i seeeeee. Problem in url... we use https://clp-**accept**-user.my-clay.com/v1.1/me/devices/{id}/mkey Sorry. Will check again
Thank you!)
You'r welcome! 👍
Hello. When i use "accept" api key i can open all my doors. When i want to use "develop" or "production" api can I always get an error: "Invalid MKey signature". How can i solve this?