We have a script basically following the one in the tool documentation to create contour lines
CheckOutExtension('Foundation')
CheckOutExtension('Foundation')
topographic.GenerateTopographicContours(in_rasters=DEM,
area_of_interest=aoi_layer,
contour_features=in_contours_features,
elevation_field='Highest Elevation',
contour_subtype='CA010_Elevation_Contour_Line',
scale='1:50,000')
but we are getting this error
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000824: The tool is not licensed.
Failed to execute (GenerateTopographicContours).
The parameters we pass are the same than the one we use in ArcGIS Pro where we are not getting any error and the greoprocessing run with no problems
Version ArcGIS Pro 2.8.0