Skip to content

v1.7 — Fix API date format & improve error handling

Choose a tag to compare

@jacko0 jacko0 released this 27 Mar 21:56
· 4 commits to main since this release

Changes

  • Fix HTTP 400 error — The ISO8601 date formatter was using Europe/London timezone which produced +00:00/+01:00 offsets instead of the Z suffix the Octopus API expects
  • Trim whitespace from credentials — Prevents 400 errors when API key or account number is copy-pasted with trailing spaces
  • Skip retrying client errors — 4xx errors now fail immediately instead of retrying 3 times
  • Better error messages — Errors now include the endpoint path and response body for easier debugging
  • Copyable error text — Status text in the menu can now be selected and copied