Hello,
A client is having issues with API calls where they are working sometimes, and sometimes not. I'm having trouble with trying to figure out what the issues are, but I can't seem to find the problem. They are also currently over their user license limit (300ish out of 100 licenses). They are in talks with Outsystems about acquiring more, but in the meantime I'm trying to find the issue with the API calls.
Can having more licenses in use than what you're meant to have affect this? I have not been able to find any specific articles about what happens exactly when you are misusing your license, only that you "can not use your licensed features", whatever that means.
Don't know the answer to the licensing stuff, but have you looked at the logs.
Can you see differences between 'working' and not 'working' calls ?
What do you mean when you say they are not working ?
Most of the time, the API calls I'm making are getting a 400 error returned from the recieving end. The calls work in the test environment, but not in production. Because this only seems to happen in production, I can't recreate the problem and specify what is causing it.
Two calls that look identical except for time, but one of them works and the other doesn't. It does not seem consistent, some calls return an error saying that "username" is missing, which would be the name of the User account, while I can see that it was sent in the call. Some calls just don't return an error and I can't see what was sent either.
The error that the username is missing is what's making me think that it might be license related, if it somehow strips the username away because of being over the license limit or something, making the authorization in the call fail.
Hi Sebastian,
For the licensing part, please check this . It can also be feasible to open a support case asking any licensing related questions.
For the API failing calls, I'd suggest as Dorine suggested; check the logs, add custom logging in your flows, debug, etc.
Hope this helps
Hi,
Licensing doesn't limit the usage of Users or AO's in production anymore. Instead, an OutSystems Sales representative will contact a customer that they exceeded the license limit and will discuss with the customer a license upgrade.
So I don't think your API problems are due to licensing.
Regards,
Daniel