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!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...