question

skorashy avatar image
skorashy asked chanel Deactivated edited

com.clover.sdk.v1.ServiceException: status code: 500 Access denied to package synergy.co.loyalty

I am getting the following exception: "com.clover.sdk.v1.ServiceException: status code: 500 Access denied to package synergy.co.loyalty" when trying to register a custom tender using "tenderConnector.checkAndCreateTender()".

I uploaded the signed app to the marketplace and installed it using the marketplace on my Dev Kit device.

I've been struggling with this issue for almost 3 weeks now so help will be really appreciated here!
App Market
4 comments
10 |2000

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

chanel avatar image chanel commented ·

What are the parameters you're attempting to pass into the function?

0 Likes 0 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

Can you please provide a pastebin link to the logcat around the error?

0 Likes 0 ·
skorashy avatar image skorashy Jeffrey Blattman ♦♦ commented ·

<iframe src="https://pastebin.com/embed_iframe/z1hXThrs" style="border:none;width:100%"></iframe>

0 Likes 0 ·
skorashy avatar image skorashy commented ·

I am making the following call:

tenderConnector.checkAndCreateTender(getString(R.string.tender_name), getPackageName(), true, false);
0 Likes 0 ·

1 Answer

chanel avatar image
chanel Deactivated answered chanel Deactivated edited
After some internal discussion, it looks like your 500 error is similar to at 403 error others have encountered before.

Please follow the steps located in the accepted answer here ( https://community.clover.com/questions/9233/sdk-forbiddenexception-status-code-403-app-doesnt.html) and report your findings back.
1 comment
10 |2000

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

Raymond Lee avatar image Raymond Lee commented ·

To see a more detailed explanation on why this happens, as well as another method of fixing it, see this post by @Jeffrey Blattman:

https://community.clover.com/articles/10448/how-to-sideload-an-apk-onto-clover-devices-for-dev.html

0 Likes 0 ·

Welcome to the
Clover Developer Community