Thread
#prefect-server
    Tomás Emilio Silva Ebensperger

    Tomás Emilio Silva Ebensperger

    2 months ago
    Hi everyone I am getting this error when trying to register a flow in the cloud
    prefect.exceptions.AuthorizationError: Malformed response received from Cloud - please ensure that you are authenticated. See `prefect auth login --help
    It also says it is a json error , after inspecting, the response gotten from the requests library is a huge html and not a json. My current config.toml file has worked for previous registrations in other projects. Does this sound familiar?
    Kevin Kho

    Kevin Kho

    2 months ago
    I think this error is really an API token thing. Is your api token expired? You could try:
    prefect auth logout
    and logging back in. Maybe you are stuck between two tenants?
    Anna Geller

    Anna Geller

    2 months ago
    what's your prefect version? You may upgrade to the latest + recreate API key to ensure your API key and Prefect version are compatible
    Tomás Emilio Silva Ebensperger

    Tomás Emilio Silva Ebensperger

    2 months ago
    Thank you I had to log out before.