cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
482
Views
2
Helpful
3
Replies

cdFMC Invalid version timestamp when deploying

NiclasAndersen
Level 1
Level 1

Hi

Background story: I have a customer that are deploying over 900 FTD in CDO and i have a python program that configure and deploy the configuration to each device

I have a program that make a bunch of configuration changes using the Cloud delivered FMC API. Sometimes when i try to deploy my configuration to the device i get this error

Request failed: 400 Client Error: 400 for url: https://{tennantname}/api/fmc_config/v1/domain/{deviceUUID}/deployment/deploymentrequests
Response content: b'{"error":{"category":"FRAMEWORK","messages":[{"description":"Invalid version timestamp."}],"severity":"ERROR"}}'
Failed to deploy configuration: 400 Client Error: 400 for url: https://{tennantname}/api/fmc_config/v1/domain/{deviceUUID}/deployment/deploymentrequests

other times the deployment works, i will say it is about 40% of the deployments i get this error on. Is there anyone that have an idea of the reason for that error?

1 Accepted Solution

Accepted Solutions

Raaghu
Cisco Employee
Cisco Employee

HI,

To avoid getting this, you need to get the version provided by calling getdeployabledevices

and sample would look like 

{
  "links": {
    "self": "https://<abc>/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/deployment/deployabledevices?offset=0&limit=25&expanded=true"
  },
  "items": [
    {
      "isDeploying": false,
      "version": "1709131463843",
      "name": "abc",
      "device": {
        "id": "abc",
        "type": "NGFW_HA",
        "name": "abc",
        "keepLocalEvents": false
      },

 Hope this helps

View solution in original post

3 Replies 3

AHack210
Cisco Employee
Cisco Employee

Hello Niclas,

Can you post a sanitized version of your API request including all headers?

Raaghu
Cisco Employee
Cisco Employee

HI,

To avoid getting this, you need to get the version provided by calling getdeployabledevices

and sample would look like 

{
  "links": {
    "self": "https://<abc>/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/deployment/deployabledevices?offset=0&limit=25&expanded=true"
  },
  "items": [
    {
      "isDeploying": false,
      "version": "1709131463843",
      "name": "abc",
      "device": {
        "id": "abc",
        "type": "NGFW_HA",
        "name": "abc",
        "keepLocalEvents": false
      },

 Hope this helps

Thank you, i found out that i never checked if my function where i get the version returned the actual version and not None. So i altered my code to handle that scenario and it hasn't failed today on 23 different devices

Review Cisco Networking for a $25 gift card