cant get the sdks to work with my public key and a...
# support
m
Any ideas why this isn't working? šŸ”„ Here is the error: { "message": "Invalid Key. Hot tip, you may be using the private key instead of the public key, or vice versa.", "error": "Forbidden", "statusCode": 403 } Im using the public key.
v
@MickSlam2218 It seems like there might be an issue with the key you are using to authenticate your requests. Here are a few steps you can take to troubleshoot the problem: 1. Double-check that you are indeed using the correct public key. It's easy to mix up keys if you have access to multiple keys or if you've recently regenerated them. 2. Ensure that the key has the necessary permissions for the action you are trying to perform. Sometimes keys are restricted to certain operations. 3. Verify that the key is being included correctly in the header of your request. The header should typically look like this:
Authorization: Bearer YOUR_PUBLIC_KEY
. 4. If you've recently regenerated your keys, make sure you've updated all your requests with the new key. 5. Check if there are any IP restrictions or other security settings that might be preventing your request from being accepted. 6. If you're still having trouble, you might want to regenerate your keys from the Dashboard and update your requests accordingly. If you've gone through these steps and the issue persists, please reach out to support for more assistance. They will be able to look into your account specifics and guide you further.
You can continue this conversation by mentioning me in the message.
m
I did all of these.
Can I get help on this?
Canayou help me with this?
I cannot log into the API Docs
s
Hey @MickSlam2218 can you help with code snippet your trying to use and your orgId?
m
ok I got it. I regenerated the keys, and using the Private key worked.
Im in the api docs.
7 Views