question

richa avatar image
richa asked devis answered

Getting 401 unauthorized on PRODUCTION

I am getting 401 error on clover production .Can you please help me with it?All apis are returning 401 which were working proper earlier.Can you please check for me?

Inventory
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered

The merchant you provided in the private comment is a sandbox merchant, not a production merchant, perhaps that is the problem? General information on troubleshooting 401s can be found here - https://docs.clover.com/docs/401-unauthorized.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

devis avatar image
devis answered

It sounds frustrating to encounter a 401 Unauthorized error, especially when everything was working fine earlier. A 401 error usually means that authentication has failed, which could be caused by various issues such as expired API keys, incorrect credentials, or permission changes.


Here are a few things you might want to check:

1. Check if your API keys or authentication tokens are still valid and haven’t expired.

2. Double-check that your credentials or keys are correctly configured in your production environment.

3. Verify that the permissions for the API keys have not been altered or restricted.

4. Ensure that you are calling the correct version of the APIs, as versioning could sometimes affect access.


It might be helpful to reach out to Clover’s support team if none of these suggestions resolves the issue. Sprunki Modes

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community