18-06-25 12:21 PM
HI
I'm getting a 400 Bad request when trying to download a file using the Graph api - Download Action.
I have entered the Sharepoint Site id File ID and access token which are all correct, but still the action is refusing to work. Any thought on how to get this resolved?
Thanks,
Jack
18-06-25 12:54 PM
Hello @Jedwards54 - Bad request means there is some issue in the input how you are passing- syntax issue, param issue.
also, can you share which DX asset you are using.
i just tried with VBO v3.1.0 [See below] and it worked fine [ this is DX asset link - BluePrism Digital Exchange ]
Input are self explanatory. Let me know if you need help.
18-06-25 01:00 PM
HI @Neel1
thanks for the response. I have just tried the following action and still get the same issue.
I'll go an check the Dive ID and Site ID now to see if there incorrect.
18-06-25 01:11 PM
@Jedwards54 - Okay . Let me know if you need help in finding those IDs
18-06-25 01:16 PM
@Neel1 do you know the best way of Retrieving a Drive ID?
18-06-25 01:26 PM - edited 18-06-25 01:32 PM
@Jedwards54 - while there are multiple way to fetch Drive ID. You can find Drive ID from Action - Get Default Drive Details Action.
Input - Site iD and token
Output - You will get Content data item [JSON format]. Convert it to Collection using Utility -JSON and
id column will be your Drive ID in collection
also refer below link for more information.
18-06-25 01:40 PM
thanks for your help.
I have updated the ID'S but still getting the 400 Invalid request.
Thanks,
Jack
18-06-25 02:15 PM
Strange @Jedwards54
is your drive ID look like this - "b!cJOPwqCdDY_pSxkR2OWudYi3nForc2qAH...-MzEsZmU4NDE" ?
18-06-25 02:32 PM
can you confirm if your drive id look like this - b!cJOPwqCdDY_pSxkR2OWudYi3nForc2qAH...-MzEsZmU4NDE
20-06-25 10:08 AM
HI @Neel1
all sorted an now working, it was in fact the drive ID that was incorrect. thanks for your help.