R
RunPod12mo ago
evelkey

Template sharing in a team doesn't work

We have a RunPod Team with several people in it and other users can't access our custom Template from the Graph API using their own API key, but they can see it on the UI (so the UI and API are not consistent). We get the following error:
Error: {'errors': [{'message': 'Template not found', 'path': ['podFindAndDeployOnDemand'], 'extensions': {'code': 'RUNPOD'}}], 'data': {'podFindAndDeployOnDemand': None}}
Error: {'errors': [{'message': 'Template not found', 'path': ['podFindAndDeployOnDemand'], 'extensions': {'code': 'RUNPOD'}}], 'data': {'podFindAndDeployOnDemand': None}}
Is there an API key scope limitation?
Solution:
Yes there is, they need to use an API key from the team account, not from their own account and also API keys are not scoped so they will have access to do anything they want with the API key.
Jump to solution
3 Replies
Solution
ashleyk
ashleyk12mo ago
Yes there is, they need to use an API key from the team account, not from their own account and also API keys are not scoped so they will have access to do anything they want with the API key.
evelkey
evelkeyOP12mo ago
Thanks for the quick reply! How can they create an API key for the team account?
PatrickR
PatrickR12mo ago
On the upper right drop down, be sure you're on your team's page (not an individual account). Then go to Settings (Left nav) select API Keys, then + API Keys.
Want results from more Discord servers?
Add your server