I try to test gRPC API in a C# project. I'm on trial version. I can't get the RFEM application using my API key : "gRPC Error: UNAUTHENTICATED - API access has been restricted. Your company does not have permission to use the Dlubal API Service, or the limits defined in your subscription plan have been exceeded."
There are no restrictions on the trial version, so the API should be accessible. In order to test the settings in your Dlubal account, I would need to be able to assign it to our system.
For this, I need your customer and user ID, which you can find on the extranet.
Prefer not to share these informations publicly? No problem – send it to me via direct message: click on my profile picture or user name → Message .
The situation is different with the demo version, where the API follows the restrictions of the demo version, and a corresponding error is thrown in the script if the restrictions are exceeded:
RuntimeError: gRPC Error: PERMISSION_DENIED - As part of the API demo restrictions, saving models, performing calculations, creating objects, and exporting models are only allowed for models containing up to 12 members, 2 surfaces, 2 cutting patterns, and 2 solids. Models that exceed these limits will not be saved or processed.
the service is now activated, please give it another try. Please make sure that the desired version of the API (e.g. 2.11.11) corresponds with the Dlubal App version (e. g. X.11.0011).
I seem to have the same problem, I don't get a solution out of this thread so I am bumping it, I hope that's okay.
My user id is 349494 and my company id is 621262
I'd appreciate to either have it activated if possible (or better yet get documentation of how I would do that myself so this is documented for future people to come - altough either would be fine for me specifically)
For some reasons sometimes the API is not activated in the customer profile in our system. Then we have to activate it manualy, it can not be done from the customer itself. However, I activated it for you, so please give it a try.
thanks for the quick response - so it's just a case for support, because it's not user error - thanks for clearing that up! I can confirm that there now is a tick under https://www.dlubal.com/en/extranet/my-account in the subpage for my company for "API Service | gRPC" - which wasn't the case before (and that I couldn't edit myself).
One more step was needed: Switching to the "Users" Subpage of the Company tab, editing my user and allowing the API service to be used for this specific user of the company. Makes sense.
I can confirm, that it works now. Thank you for your quick help!