Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PowerShell] Start-FinOpsCostExport throws BadRequest error #988

Open
flanakin opened this issue Sep 17, 2024 · 0 comments
Open

[PowerShell] Start-FinOpsCostExport throws BadRequest error #988

flanakin opened this issue Sep 17, 2024 · 0 comments
Labels
Tool: PowerShell PowerShell scripts and automation Type: Bug πŸ› Something isn't working

Comments

@flanakin
Copy link
Collaborator

πŸ› Problem

Getting the following error in Start-FinOpsCostExport:

Write-Error: C:\Users\micflan\Documents\PowerShell\Modules\FinOpsToolkit\0.4\Public\Start-FinOpsCostExport.ps1:183

Line |
 183 |  … $response = Invoke-Rest -Method POST -Uri $runpath -Body $body -Comma …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Request properties validation failed: Invalid definition timePeriod; 'to' value
     | cannot be in the future. (Code: BadRequest).

πŸ‘£ Repro steps

  1. Start-FinOpsCostExport ... -Backfill 13
  2. Review response

πŸ€” Expected

Should complete successfully without errors.
Write status messages for each month for transparency of what's happening.
There should be an option to run without any outputs.

πŸ™‹β€β™€οΈ Ask for the community

We could use your help:

  1. Please vote this issue up (πŸ‘) to prioritize it.
  2. Leave comments to help us solidify the vision.
@flanakin flanakin added Type: Bug πŸ› Something isn't working Tool: PowerShell PowerShell scripts and automation labels Sep 17, 2024
@flanakin flanakin added this to the 2024-09 – September milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tool: PowerShell PowerShell scripts and automation Type: Bug πŸ› Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant