Smtp server configuration error on privacyIDEA 3.04

Hi! I’m having errors when trying to configure smtp to get the token value.
500 internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. can you help me? Thanks

Hi and welcome to the community.

You need to check the privacyidea log (usually located in /var/log/privacyidea/privacyidea.log) for an error. Otherwise we won’t be able to tell what went wrong.

Thanks for the answer. The email is Ok! How do I enable and disable a token with privacyIDEA API? Thanks.

Have a look here:

Hi plettich, thanks. It worked!
How do I create a client
(.Net C #) to integrate with
privacyIDEA by consuming the API?
I am accessing the resources using the Postman tool.

We do have an SDK for Java:


but it is still work in progress.

Here is an older post on using the API:

What is more feasible with a .net background and an Oracle database. Do you have an integration suggestion?

main features I need: Enable and Disable a token
Validate OTP
Reset OTP Token
Verify Activated Token integrating with privacyIDEA server through a .Net client and backgroud, is it possible?

Yes. This is all in the token endpoint documentation @plettich mentioned earlier.

After all the webui you see is a single page application to the REST API.
So everything is possible in the API.

Hey @Alane_Freitas how did you resolve the internal server error?