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: