Skip to main content
Solved

DeviceHub reaching API Login Limit

  • Jan 11, 2022 5:30 PM UTC
  • 10 replies
  • 401 views
  • Translate All

xkylewrightx
Semi-Pro I
Forum|alt.badge.img+1

I have DeviceHub configured successfully with printers, but when I add a usb scale it exceeds the API request limit all on its own after a minute or two. 

Seems like devicehub is updating the SMScale table with the scale weight, but then forgetting to log itself out after??

Does anyone have any ideas? TY!!

 

 

Best answer by rosenjon

Acumatica might want to reconsider it’s use of rate limiting for the API. What exactly is achieved by this?

I have found that logging in and out programmatically in-between calls(synchronous) solves any problems like this, including if you only have a single user.

But honestly, what is Acumatica incentivizing here with this strategy? Making API based calls to the database flaky so that systems don’t work right and customers get mad and move to a different product? What are they worried about? If you had unlimited REST API calls, maybe you could build your own front end and not have to pay Acumatica? Does anyone think that’s going to happen?

What is the strategy here? Licenses are tied to REST API calls, and therefore we’ll incentivize the purchase of more licenses? Why not just sell an appropriate number of concurrent REST API licenses, and then customers can decide what they need, rather than this opaque and error prone system?

View original

10 replies

Dmitrii Naumov
Community Manager
Forum|alt.badge.img+7

As far as I know this has been fixed in the new version of the product. Which version do you have? Could you try the latest version?

Translate

xkylewrightx
Semi-Pro I
Forum|alt.badge.img+1
  • Author
  • Semi-Pro I
  • Jan 17, 2022 1:53 PM UTC

@dnaumov We are running SaaS 21.114.0030 and I got DeviceHub from here: http://acumatica-builds.s3.amazonaws.com/index.html?prefix=builds/21.1/21.114.0030/

 

Do we need to update Acumatica in order for this feature to work?

 

 

Translate

Dmitrii Naumov
Community Manager
Forum|alt.badge.img+7

it looks like you have a recent version. 

I think it worth creating a support case for investigation.

Translate

Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • Jan 26, 2022 10:13 PM UTC

Hi @xkylewrightx were you able to resolve this? Thanks!

Translate

xkylewrightx
Semi-Pro I
Forum|alt.badge.img+1
  • Author
  • Semi-Pro I
  • Jan 26, 2022 10:15 PM UTC

Hey @Chris Hackett 

No I have not found a solution

 

thank you

Translate

Forum|alt.badge.img+5
  • Semi-Pro III
  • Answer
  • Jan 28, 2022 4:47 AM UTC

Acumatica might want to reconsider it’s use of rate limiting for the API. What exactly is achieved by this?

I have found that logging in and out programmatically in-between calls(synchronous) solves any problems like this, including if you only have a single user.

But honestly, what is Acumatica incentivizing here with this strategy? Making API based calls to the database flaky so that systems don’t work right and customers get mad and move to a different product? What are they worried about? If you had unlimited REST API calls, maybe you could build your own front end and not have to pay Acumatica? Does anyone think that’s going to happen?

What is the strategy here? Licenses are tied to REST API calls, and therefore we’ll incentivize the purchase of more licenses? Why not just sell an appropriate number of concurrent REST API licenses, and then customers can decide what they need, rather than this opaque and error prone system?

Translate

Dmitrii Naumov
Community Manager
Forum|alt.badge.img+7

@rosenjon  the reason here is that we don’t have unlimited computational resources. So, we try to limit API calls (and other things) so it does not hang the system and so it does not cause the UI to behave slower. 

Also, we cannot reconfigure hardware on the fly, so we cannot do the after the fact consumption based billing here. 

 

If you have any ideas on how to make that more user friendly I invite you to share the ideas in https://community.acumatica.com/ideas

Translate

rkenna
Captain II
Forum|alt.badge.img+5
  • Captain II
  • Jul 7, 2026 6:45 PM UTC

I know this is an old post, but has anyone uncovered any solutions to this? Running into this with one of our newer members.

Cheers,

RJ

Translate

Forum|alt.badge.img+5
  • Semi-Pro III
  • Jul 7, 2026 6:52 PM UTC

​@rkenna I developed a scale integration that displays a scannable barcode on a webpage, that can be run on a tablet. Then you scan the weight to capture the barcode. This has a lot of advantages, including that you get to control the rate at which you poll the scale and don’t run into any issues on the Acumatica side. Then the user can scan the barcode to capture the weight on a mobile device.

Translate

Dana Moffat
Community Manager
Forum|alt.badge.img+2
  • Community Manager
  • Oct 13, 2026 2:15 PM UTC

​@rosenjon are you now a live Acumatica customer that has developed your own customization? or is this scale integration approach an idea that you would like to propose?

i noticed on another Community post that you mentioned having purchased a WMS (not clear whether it is integrated to Acumatica or not) and i’m wondering if the WMS handles the scale integration that you mention.

-Dana

Translate