I have been trying to create an asset but I keep on receiving 403 error consistently. Below are the images attached respectively. It seems like I don’t have access for asset creation. Can anyone help me to rectify this issue please?
Can you please change the code as below and check again?
world_asset = client.assets.create( Asset( name="world", description="Root asset representing the entire world", data_set_id=ds.id # Associate with the dataset you created ) )
I have tried all possible ways provided in the notebooks provided it didn’t work. Including the attached code below by replacing the pump with the “world”. Yet, it didn’t work.
@Muhammad As per screenshot of the authetication code you have defined the SDK client as “client” not as “c”. That is why I asked to replace c.assets.create to client.assets.create.
I have that into consideration. Furthermore, I have re-adjust the code per your instruction and yet the error message remain the same. Attached are the code I have been using. From A-C respectively.
Can you please hover the cursor on top of line world_asset = c.assets.create and let me know what is displayed? The red uderline indicates something is wrong.