GIGIOFAKE
(GIGIOFAKE)
#1
local purchaseReq = HttpService:PostAsync(url, {["Authorization"] = HttpService:GetSecret("API_Token")})
That’s my code. I’m basically trying to access that secret but I get an error: “Cant find secret with given key”. Do you have ideas on why?
Here’s my keys
When play testing, did you run it on a Team Test or Local Test?
To quote from a Roblox Staff Member:
By production, they mean in-game instead of Studio)
1 Like
GIGIOFAKE
(GIGIOFAKE)
#3
I’m from studio and I’m testing on my local server
Then that is probably the issue. Try testing it on a Team Test
1 Like
GIGIOFAKE
(GIGIOFAKE)
#5
Worked, thank you! char capppppppp
1 Like
system
(system)
Closed
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.