a

    Adam Roderick

    6 months ago
    We've started seeing an error when accessing secrets from Prefect Cloud. Any ideas how I can troubleshoot this?
    prefect.exceptions.ClientError: [{'path': ['secret_value'], 'message': 'An unknown error occurred.', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}]
    Kevin Kho

    Kevin Kho

    6 months ago
    Are you mapping over a large amount of Secret pulls?
    a

    Adam Roderick

    6 months ago
    no
    Maybe 4
    Kevin Kho

    Kevin Kho

    6 months ago
    I will ask the team if there have been any API hiccups but I don’t see any prod alerts internally. How often does this happen to you?
    Anna Geller

    Anna Geller

    6 months ago
    Can you try running the query in interactive API?
    query {
      secret_value(name: "SLACK_WEBHOOK_URL")
    }
    The query seems to work fine - choose Secret that you use
    Kevin Kho

    Kevin Kho

    6 months ago
    Maybe set a retry on the PrefectSecret to avoid this from happening again?
    a

    Adam Roderick

    6 months ago
    It just started and we are trying to see how reproducible it is. Thanks for these suggestions
    Following up... apparently this was a glitch. We have not been able to reproduce this 🤦‍♂️
    Thank you very much for your attention as we have questions
    Kevin Kho

    Kevin Kho

    6 months ago
    No I think it may have been a very rare API hiccup for us