Unexpected character encountered while parsing value: R. Path

Hello,

I cannot log into the Octopus console and I am seeing this error in the log file:

8080/api/releases by username : Unexpected character encountered while parsing value: R. Path ‘’, line 0, position 0.

I think this was because of a release we tried to do via the API. How can I look at the releases and delete the latest one?

Thank you,

-Geoff

Hi Geoff,

Thanks for getting in touch!

You can do it two ways:

Via SQL

Query the Release table and DELETE the release that is the one that is invalid.

Via API

  • Query the API for the releases
  • If you don’t know the project Id, via http://octopus.url/api/releases and find the release, or
  • If you know the project Id that the release was for, query http://octopus.url/api/projects/{id}/releases and find the release,
  • Issue a DELETE HTTP call to http://octopus.url/api/releases/{id}

Hope that helps!

Thank you and kind regards,
Henrik