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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...