https://prefect.io logo
#prefect-community
Title
# prefect-community
a

Adam Roderick

03/18/2022, 3:41 PM
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'}}]
k

Kevin Kho

03/18/2022, 3:42 PM
Are you mapping over a large amount of Secret pulls?
a

Adam Roderick

03/18/2022, 3:49 PM
no
Maybe 4
k

Kevin Kho

03/18/2022, 3:52 PM
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?
a

Anna Geller

03/18/2022, 3:55 PM
Can you try running the query in interactive API?
Copy code
query {
  secret_value(name: "SLACK_WEBHOOK_URL")
}
The query seems to work fine - choose Secret that you use
k

Kevin Kho

03/18/2022, 4:29 PM
Maybe set a retry on the PrefectSecret to avoid this from happening again?
a

Adam Roderick

03/18/2022, 5:29 PM
It just started and we are trying to see how reproducible it is. Thanks for these suggestions
👍 1
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
k

Kevin Kho

03/18/2022, 11:35 PM
No I think it may have been a very rare API hiccup for us
8 Views