Thread
#prefect-community
    Austen Bouza

    Austen Bouza

    7 months ago
    Hello, I’m seeing an unusual error when submitting flows to ECS. My flows have been running without issue for a long time, but suddenly I’m getting a
    prefect.exceptions.AuthorizationError: Malformed response received from Cloud - please ensure that you are authenticated.
    message. The auth token I am using has not changed and has not expired. The response is failing on a
    requests.exceptions.JSONDecodeError: [Errno Expecting value]
    error with the response body
    <html><head><meta charset="utf-8"><script>C9xx.T9xx=T9xx;C9xx.g8=window;;n0II(C9xx.g8);T9TT(C9xx.g8);C9xx.D9S=(function(){var Z9S=2;for(;Z9S !== 1;){switch(Z9S)
    …and a ton more obfuscated javascript. Is this a typical response body from Prefect Cloud when not authenticated?
    Kevin Kho

    Kevin Kho

    7 months ago
    Hey @Austen Bouza, I think I would just encourage using new key since tokens were deprecated. This is still unexpected but I kind of suspect this may be related to the 1.0 release. The first message is expected but the javascript is not if you are not unauthenticated
    Austen Bouza

    Austen Bouza

    6 months ago
    @Kevin Kho thank you, that fixed the problem.
    Kevin Kho

    Kevin Kho

    6 months ago
    Well I will let the team know and check if that was expected or not