Trial authentification – permission for API Service

Hello,

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."

Is it possible to test the API in trial version ?

Hi ylesle,

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.

:owl: 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.

More informations about the pricing and subscriptions for API (gRPC):
Dlubal API Subscriptions: Flexible Integration in Engineering

Best regards
Robert Milrath

Hi Robert,
thanks for your response. My informations : user Id : 319416 ; Company Id : 601009

Hi ylesle,

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).

Best regards
Robert Milrath

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)

Hi restassured,

welcome to the community.

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.

Best regards
Robert Milrath

1 Like

Hi Robert,

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!

Best regards,
R/A

2 Likes

Hi Robert,

same known issue here on a 90-day trial (RFEM 6.14.0013): "UNAUTHENTICATED – API access has been restricted. Your company does not have permission to use the Dlubal API Service…"

Already checked on our side:

  • Valid API-II key (recognized by the server – an invalid key gives a different error)
  • User permission "API Service | gRPC" enabled in the Extranet
  • RFEM restarted, gRPC server on port 9000 running
  • Company β†’ API Subscriptions shows no entry (0/0), and we cannot add the Free plan ourselves

Could you please activate the API service for our company?
Company ID: 633817
User ID: 368688

Thank you!
Alexandra Wagner

Hi Gemmy,

welcome to the community.

I have activated the option. Please try again.

Best regards
Stefan Hoffmann

Yes, it seems to be working now, thank you very much!! :)

2 Likes

Hi bmosterd,

I changed the settings, please give it another try.

Best regards
Robert Milrath

Hi Robert,

It's working now, thank you for your help, much appreciated.

All best,
Bram

1 Like

Hi,

I have the same problem with the RFEM 6.14.0013 trial.

The API key is valid, but I still get the UNAUTHENTICATED error and the API Service | gRPC option is greyed out in my account.

Could you please activate it for me?

Company ID: 634178
User ID: 369197

Thanks a lot.

Hi Shazl1QQa,

I activated the necassary options in our system, please give it another try.

Best regards
Robert Milrath