3 weeks ago
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
3 weeks ago
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.
3 weeks ago
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.
3 weeks ago
@Jedwards54 - Okay . Let me know if you need help in finding those IDs
3 weeks ago
@Neel1 do you know the best way of Retrieving a Drive ID?
3 weeks ago - last edited 3 weeks ago
@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.
3 weeks ago
thanks for your help.
I have updated the ID'S but still getting the 400 Invalid request.
Thanks,
Jack
3 weeks ago
Strange @Jedwards54
is your drive ID look like this - "b!cJOPwqCdDY_pSxkR2OWudYi3nForc2qAH...-MzEsZmU4NDE" ?
3 weeks ago
can you confirm if your drive id look like this - b!cJOPwqCdDY_pSxkR2OWudYi3nForc2qAH...-MzEsZmU4NDE
3 weeks ago
HI @Neel1
all sorted an now working, it was in fact the drive ID that was incorrect. thanks for your help.