403 for Collection GET and PUT API #1208
Replies: 2 comments
-
Thank you for the question! Can you provide us an example of the code being executed and the error message received? |
Beta Was this translation helpful? Give feedback.
-
Hi @jshcodes , I am using the following code to interact with the CrowdStrike Falcon API, but I am encountering an error. The client API key and secret I am using have all the necessary permissions assigned in Falcon. Additionally, I have tried using a binary file as mentioned in the documentation. Below is the code I am using, followed by the error message I am receiving: from falconpy import CustomStorage Replace with your CrowdStrike API credentialsCLIENT_ID = "CLIENT_ID" Define the collection name and object keycollection_name = "StorageData" Initialize the CustomObjects servicecustom_objects = CustomStorage(client_id=CLIENT_ID, client_secret=CLIENT_SECRET, base_url=BASE_URL) Define the data you want to storedata = { Error --: Could you please assist in resolving this issue? Thank you, |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am trying to put some data into a collection that I created in my custom app, but when I hit the API, I get a 403 error. I have created a new API key with all the read and write access, but I am still getting the error.
This is the API I am using for storing the information. I used the sample schema from the documentation to avoid any mistakes:
https://falcon.crowdstrike.com/documentation/page/vc1f2a56/collections#d8e53b7b
/customobjects/v1/collections/{collection_name}/objects/{object_key}
Beta Was this translation helpful? Give feedback.
All reactions