Installation

Error while adding new license : failed to parse license because

mythili
Explorer

Hi All, 

When I tried to add the new license, I am getting an error , "Bad Request — xxxx: failed to parse license because: Creation does not precede expiration; license can never be valid " 

What might cause this error and how to resolve it? 

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @mythili,

the problem is the expiration Time.

The xreation time is 30th of June, but the expiration date isn't present.

If someone other installed it check the license, otherwise open a case to Splunk Support.

Ciao.

Giuseppe

View solution in original post

0 Karma

mythili
Explorer

Hi @gcusello ,

The license was provided by my manager who generates it using Splunk Partnerverse portal.

No, we do not have license with more than 1 year expiration. 

Thank you, We will raise a support ticket for this and check

 

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @mythili,

check the starting and ending dates.

Did you loaded the licens using the web GUI I suppose?

Ciao.

Giuseppe

0 Karma

mythili
Explorer

Hi @gcusello ,

Please refer below for the license details. The creation time seems to be valid and the expiration time is mentioned as  0 which can be the problem I think.

<payload>
<type>fixed-sourcetype</type>
<group_id>Enterprise</group_id>
<window_period>30</window_period>
<creation_time>1688083200</creation_time>
<expiration_time>0</expiration_time>

Yes, I loaded the certificate from the gui.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @mythili,

the problem is the expiration Time.

The xreation time is 30th of June, but the expiration date isn't present.

If someone other installed it check the license, otherwise open a case to Splunk Support.

Ciao.

Giuseppe

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @mythili ,

good for you, see next time!

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated by all the contributors 😉

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @mythili,

where do yur licens come from?

have you licenses with a duration of more than one year?

check the starting and expiration dates of your license and if they aren't correct, opena a case to Splunk Support.

Ciao.

Giuseppe

0 Karma

Araton71
Loves-to-Learn

I've the same error

When we generated NFR , it's impossible to modify expiration date, and now we can't generate a new one

Already opened a support case

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...